@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* 共通スタイル */
/* ====== ヘッダー修正 ====== */
.header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* 高さをminにすることで、コンテンツが下に続く */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    /* ヘッダーは前面に */
}

/* パララックス背景（修正） */
.header::before {
    content: "";
    position: absolute;
    /* `fixed` → `absolute` に変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/top-bg.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* 背景を最背面に */
}


/* ====== ボディのスクロールを許可 ====== */
body,
html {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    /* `hidden` は横スクロールのみ制御 */
}

/* body {
    background-color: #181818;
} */

.header h1,
section h2 {
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
    /* max-width: 800px; */
}

.header h1 {
    margin-top: 5rem;
}

.under-page02 .header h1 {
    margin-top: 2rem;
    font-size: 2.5rem;
}

@media screen and (max-width: 768px) {
    .header h1 {
        margin-top: 0;
    }
}

.header p {
    color: #fff;
}

/* `h1` にアイコンを追加（beforeで実装）
#animated-text02 {
    position: relative; `::before` を配置するために relative を設定
    display: flex;
    align-items: center; アイコンとテキストを中央揃え
    gap: 10px; アイコンとテキストの間隔
}

`h1` の `before` にLINEアイコンを配置
#animated-text02::before {
    content: "";
    display: inline-block;
    width: 164px; アイコンの幅
    height: 158px; アイコンの高さ
    background-image: url("../images/line.png"); アイコン画像を設定
    background-size: contain;
    background-repeat: no-repeat;
} */
.flex {
    display: flex;
    align-items: flex-end;
}

.a-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.a-center p {
    margin: 0px 0 0 20px;
}

@media screen and (max-width: 768px) {
    .a-center p {
        margin: 20px 0;
    }

}

.flex img {
    width: 152px;
    height: 146px;
    margin-right: 20px;
}

/* アニメーション (h1, h2 の下から登場) */
.animate-text {
    opacity: 0;
    transform: translateY(50px);
    /* 初期位置を下に設定 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-text.visible {
    opacity: 1;
    transform: translateY(0);
    /* 元の位置に戻す */
}

/* アニメーション (h3 の右から登場) */
.animate-right {
    opacity: 0;
    transform: translateX(50px);
    /* 初期位置を右に設定 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
    /* 元の位置に戻す */
}

/* アニメーション (h3 の右から登場) */
.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    /* 初期位置を右に設定 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
    /* 元の位置に戻す */
}

/* サービス特徴セクション */
.features {
    padding: 40px 20px;
    background: #181818;
    background-image: url('../images/features-bg.png');
    /* 画像のパスを指定 */
    background-size: contain;
    /* 画像全体を収める */
    background-repeat: no-repeat;
    /* 繰り返しを防ぐ */
    background-position: center right;
    /* 画像の位置調整 */
}

@media screen and (max-width: 768px) {
    .features {
        background-image: url('../images/features-bg-sp.png');
        /* 画像のパスを指定 */
        background-size: contain;
        /* 画像全体を収める */
        background-repeat: no-repeat;
        /* 繰り返しを防ぐ */
        background-position: center right;
        /* 画像の位置調整 */
    }
}

.features02 {
    padding: 40px 20px;
    background: #181818;
    background-image: url('../images/features-bg.png');
    /* 画像のパスを指定 */
    background-size: contain;
    /* 画像全体を収める */
    background-repeat: no-repeat;
    /* 繰り返しを防ぐ */
    background-position: center right;
    /* 画像の位置調整 */
}

@media screen and (max-width: 768px) {
    .features02 {
        background-image: url('../images/features-bg-sp.png');
        /* 画像のパスを指定 */
        background-size: contain;
        /* 画像全体を収める */
        background-repeat: no-repeat;
        /* 繰り返しを防ぐ */
        background-position: center right;
        /* 画像の位置調整 */
        padding: 40px 0px;
    }
}

.features .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    color: white;
}

.features02 .container {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
    /* text-align: left; */
    color: white;
    text-align: center;
}

.features h2,
.features02 h2 {
    margin-bottom: 20px;
    font-size: 2.4rem;
    line-height: 1.2;
}

.feature-item {
    margin: 20px 0;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
}

.feature-item ul {
    list-style: none;
    /* デフォルトのリストマーカーを削除 */
    padding-left: 0;
    /* 左側の余白を調整 */
    margin: 3rem;
}

.feature-item li {
    background-image: url(../images/check.png);
    background-size: 35px 35px;
    background-repeat: no-repeat;
    background-position: 1rem center;
    border: 2px solid white;
    padding: 16px 30px;
    border-radius: 30px;
    padding-left: 60px;
    margin-bottom: 16px;
    max-width: 450px;
    font-size: 1.2rem;
}

/* 私たちの強みセクション */
.strengths {
    padding: 40px 20px;
    background: #ecf4ee;
    display: flex;
    flex-direction: column;
    /* 縦並び */
    gap: 20px;
    /* コンテンツ間の余白 */
    padding: 40px 0;
}

.strengths .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #181818;
}

.strengths h2,
.services h2,
.testimonials h2 {
    margin-bottom: 20px;
    font-size: 3.8rem;
    line-height: 0.8;
}

@media screen and (max-width: 768px) {

    .features h2,
    .strengths h2,
    .services h2,
    .testimonials h2 {
        font-size: 2.8rem;
    }
.features02 h2 {
    font-size: 1.8rem;
}
    .feature-item li {
        font-size: 1rem;
    }
    .services .cach {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: left;
    }

}

.text-area ul {
    list-style: none;
    /* デフォルトのリストマーカーを削除 */
    padding-left: 0;
    /* 左側の余白を調整 */
    margin-top: 1rem;
}

.text-area li {
    background-color: #06c755;
    padding: 10px 30px;
    border-radius: 30px;
    /* padding-left: 60px; */
    margin-bottom: 16px;
    max-width: 550px;
    color: #181818;
    text-align: center;
    line-height: 1.3;
    font-weight: 800;
}

.text-area li.squea {
    background-color: #fff;
    border-radius: 0;
    padding: 10px 30px;
    margin-bottom: 16px;
    max-width: 550px;
    color: #181818;
    text-align: center;
    line-height: 1.3;
    font-weight: 800;
}

.text-area li.squea span {
    background: linear-gradient(transparent 60%, #FFFE03 60%);
    font-size: 1.1rem;
}

.text-area li.squea span.none {
    background: none;
    font-size: 1.1rem;
}

.text-area li.squea span.f-s,
.text-area .f-s {
    background: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.text-area .title,
.text-area .title2 {
    position: relative;
    padding-left: 1.2em;
    /*アイコン分のスペース*/
    line-height: 1.4;
    font-size: 1.2rem;
}

.text-area .title2 {
    font-weight: bold;
}

.text-area .title:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    /*アイコンのユニコード*/
    font-weight: 900;
    position: absolute;
    /*絶対位置*/
    font-size: 1em;
    /*サイズ*/
    left: 0;
    /*アイコンの位置*/
    top: 0;
    /*アイコンの位置*/
    color: #5ab9ff;
    /*アイコン色*/
    font-weight: 900;
}

.text-area .title2:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    /*アイコンのユニコード*/
    font-weight: 900;
    position: absolute;
    /*絶対位置*/
    font-size: 1em;
    /*サイズ*/
    left: 0;
    /*アイコンの位置*/
    top: 0;
    /*アイコンの位置*/
    color: #fffe03;
    /*アイコン色*/
    font-weight: 900;
    padding-right: 0.2rem;
}

@media screen and (max-width: 768px) {

    .text-area li,
    .text-area li.squea {
        padding: 10px 8px;
    }

    .text-area dl {
        display: block;
    }
}

/* 画像＋テキストのコンテンツ */
.content-item {
    max-width: 610px;
    /* max-width: 1200px; */
    margin: 30px auto;
    /* display: flex; */
    align-items: center;
    /* gap: 36px; */
    align-items: flex-start;
    justify-content: center;
}

.content-item02 {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 36px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row-reverse;
}

.content-item03 {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 36px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    padding-top: 70px;
    padding-bottom: 70px;
}

.content-item04 {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 36px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row-reverse;
}

.content-item05 {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 36px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    /* padding-top: 70px; */
    padding-bottom: 70px;
}

/* 画像コンテナ */
.image-container {
    position: relative;
    /* タイトル配置の基準 */
    width: 40%;
    /* 画像の横幅 */
    max-width: 300px;
}

/* 画像 */
.image-container img {
    width: 100%;
    height: auto;
    border-radius: 25px;
}

/* 画像の上のタイトル */
.image-title {
    position: absolute;
    top: 0px;
    /* 上からの距離 */
    left: 10px;
    /* 左からの距離 */
    color: white;
    /* 白文字 */
    font-size: 1.5rem;
    font-weight: bold;
    /* background: rgba(0, 0, 0, 0.5);  */
    padding: 5px 10px;
    border-radius: 5px;
    text-align: left;
}

/* テキストエリアのスタイル */
.text-area {
    margin-top: 0 !important;
    /* width: 60%; */
    text-align: left;
}
.text-area a {
    color: #5ab9ff;
}
.text-area a:hover {
    color: #2aa1f6;
}
.mt-0 {
    margin-top: 0 !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mb-70 {
    margin-bottom: 70px !important;
}

/* レスポンシブ対応（スマホ・タブレット） */
@media screen and (max-width: 768px) {
    .feature-item ul {
        margin: 0;
    }

    .feature-item li {
        border-radius: 50px;
    }

    .content-item,
    .content-item02,
    .content-item03,
    .content-item04,
    .content-item05 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
    }

    .text-area {
        width: 100%;
    }

    .image-title {
        font-size: 1.7rem;
        top: 5px;
        left: 16px;
        padding: 3px 8px;
    }
}

/* お問い合わせセクション */
.contact {
    padding: 0px 1rem 2rem;
    background: #ecf4ee;
    color: #181818;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact p {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 900;
}

.contact span.sub {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: 600;
}

/* .contact .btn {
    display: inline-block;
    padding: 12px 44px;
    background: #06c755;
    color: #fff;
    text-decoration: none;
    border-radius: 26px;
    font-size: 1rem;
}

.contact .btn:hover {
    background: #ff3b2f;
} */

.contact .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 44px;
    background-color: #06c755;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 26px;
    transition: background-color 0.3s;
}

.contact .btn:hover {
    background-color: #e65c00;
    /* 背景色をホバー時に変更 */
}

/* ニュースセクション */
.news {
    padding: 40px 20px;
    background: #181818;

}

@media screen and (max-width: 768px) {
    /* .news {
        background-image: url('../images/features-bg-sp.png'); 
        background-size: contain; 
        background-repeat: no-repeat; 
        background-position: center right; 
    } */
}

.news .container {
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    max-width: 1200px;
    color: white;
    text-align: left;
}

/* .news .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    color: white;
} */
@media screen and (max-width: 768px) {
    .news .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.news h2 {
    margin-bottom: 20px;
    font-size: 3.8rem;
    line-height: 0.8;
}

.news-item {
    margin: 20px 0;
}

ul {
    list-style: none;
    /* リストの黒丸（・）を削除 */
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}


.news-item li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 20px;
    flex-direction: column;
}

/* 最後の li だけ下線を消す */
.news-item li:last-child {
    border-bottom: none;
}

time {
    font-weight: bold;
    white-space: nowrap;
    /* 日付が折り返されるのを防ぐ */
}

dl {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    /* align-items: center; */
    /* flex-wrap: wrap; */
    margin: 0;
}

dt {
    font-weight: bold;
    white-space: nowrap;
    background-color: #fff;
    padding: 2px 25px;
    color: #181818;
    border-radius: 16px;
}

dd {
    margin: 0;
}

/* タブレット・スマホ用（画面幅 767px 以下で縦並び） */
@media (max-width: 767px) {
    .news-item li {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-item dl,
    .content-item02 dl,
    .content-item03 dl {
        flex-direction: column;
        align-items: flex-start;
    }

    dl {
        flex-wrap: wrap;
    }
}

.news a {
    color: #1981f7;
    position: relative;
    display: inline-block;
}

.news a:hover {
    color: #555b8b;
}

/* 下層ページお問い合わせセクション */
.under-page02 .contact {
    padding: 2rem 1rem 2rem;
    background: #181818;
    color: #ecf4ee;
    text-align: center;
}

.under-page02 .contact h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.under-page02 .contact p {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 900;
}

.under-page02 .contact .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 44px;
    background-color: #06c755;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 26px;
    transition: background-color 0.3s;
}

.under-page02 .contact .btn:hover {
    background-color: #e65c00;
    /* 背景色をホバー時に変更 */
}


/* フッターセクション */
.footer {
    background: #131e3d;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.widget img.nintei {
    width: 143px;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .widget img.nintei {
        width: 127px;
        margin-top: 20px;
    }

}

/* お客様の声セクション */
.testimonials {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

/* .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
} */
/* スライダー */
.slider {
    position: relative;
    overflow: hidden;
    /* 横に広がる部分を隠す */
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* .testimonial {
    flex: 0 0 25%; デスクトップ版：4人分表示
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
} */
.testimonial {
    flex: 0 0 calc(100% / 3);
    /* 3人表示 */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}


.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: left;
}

.testimonial h4 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* お客様の声（カード全体） */
.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    /* 背景色を白 */
    border-radius: 10px;
    /* カードの角を丸く */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* 薄めのシャドウ */
    padding: 20px;
    width: 100%;
    max-width: 350px;
    /* カードの最大幅 */
    text-align: center;
    margin: 10px;
}

/* 上部のレイアウト（画像と肩書・氏名を横並び） */
.testimonial-header {
    display: flex;
    align-items: center;
    width: 100%;
}

/* 画像（左側） */
.testimonial img {
    width: 45%;
    max-width: 100px;
    /* 最大サイズ */
    height: auto;
    border-radius: 50%;
    /* 丸くする */
    object-fit: cover;
    margin-right: 10px;
}

/* 肩書＋氏名（右側） */
.card-title {
    width: 55%;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* 肩書のスタイル */
.card-title span {
    font-size: 0.8rem;
    color: #666;
    /* 肩書をグレーに */
}

/* コメント部分 */
.testimonial p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
    width: 100%;
}


/* 矢印ボタン */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #131e3d5a;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 60%;
    font-size: 1rem;
    z-index: 2;
    font-weight: bold;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    background: #005bb57c;
}

/* スマホ版スタイル */
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0;
        overflow: hidden;
        /* 横にあふれる部分を隠す */
        position: relative;
    }

    .slider-track {
        display: flex;
        transition: transform 0.5s ease;
        /* スムーズな移動 */
        width: auto;
        /* 子要素の幅に応じて自動設定 */
    }

    .testimonial {
        flex: 0 0 80%;
        /* 各スライドの幅を80%に設定 */
        margin: 0;
        /* 余白をリセット */
        text-align: center;
        /* 中央揃え */
    }

    .under-page02 .contact p,
    .contact p {
        font-size: 1.4rem;
        letter-spacing: -0.04rem;
    }
}

/* testimonial カードの基本デザイン */
.testimonial {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* カードの最大幅 */
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* pタグの高さを260pxに制限（デフォルト） */
.testimonial p {
    max-height: 260px;
    /* 初期の高さ制限 */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

/* グラデーションを追加（デフォルト） */
.testimonial p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* グラデーションの高さ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    transition: opacity 0.3s ease-in-out;
}

/* 「続きを読む/閉じる」ボタン */
.read-more-btn {
    display: block;
    text-align: center;
    background-color: #fff;
    color: #181818;
    border: 2px solid #181818;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
    /* border: none; */
    outline: none;
}

.read-more-btn:hover {
    background-color: #181818;
    color: #fff;
}

/* 開いた時のスタイル */
.testimonial.expanded p {
    max-height: none;
    /* 高さ制限を解除 */
}

.testimonial.expanded p::after {
    opacity: 0;
    /* グラデーションを消す */
}



/* 2月28日追記 */
/* コンテンツの中央配置 */
/* .container {
    color: hsl(264, 13%, 16%);
    text-align: center;
} */
.header .container {
    position: relative;
    z-index: 2;
    /* 背景画像より前面に */
    text-align: left;
    left: 8%;
}

.container {
    position: relative;
    z-index: 2;
    /* 背景画像より前面に */
}

/* キャッチコピー */
h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #fff;
}



/* 文字アニメーション用 */
#animated-text02 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* サブテキストとボタンのフェードイン */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* サブテキストとボタンのフェードイン */
.fade-in02 {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* CTAボタン */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 44px;
    background-color: #06c755;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 26px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e65c00 !important;
    /* 背景色をホバー時に変更 */
}


/* スマホ・タブレット対応 */
@media (max-width: 768px) {
    h1 {
        font-size: 20px;
        white-space: normal;
        padding: 0 20px;
    }

    .btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* ====== グローバルナビゲーション ====== */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* 初期は透明 */
    transition: background 0.3s ease-in-out;
    z-index: 100;
    /* ヘッダーより前面に */
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    /* 初期は白 */
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* スクロール後のスタイル */
.scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scrolled .nav-links a {
    color: black !important;
}

/* ====== グローバルナビゲーション ====== */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* 初期は透明 */
    transition: background 0.3s ease-in-out;
    z-index: 100;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    /* 初期は白 */
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* スクロール後のスタイル */
.scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scrolled .nav-links a {
    color: black !important;
}

.scrolled .nav-links a.btn02 {
    color: white !important;
}

/* ====== ハンバーガーメニュー（スマホ用） ====== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    /* 初期は白 */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* スライドメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 初期状態は画面外 */
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    transition: right 0.3s ease-in-out;
    padding-top: 40px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu ul li {
    padding: 15px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.mobile-menu ul li a.btn02 {
    display: block;
    /* position: relative; */
    padding: 0.5em 1.5em;
    background-color: #06c755;
    box-shadow: 0 3px 0 0 #0e9948;
    border-radius: 30px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 16px;
    width: 40%;
    /* max-width: 350px; */
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 300ms;
}

.mobile-menu ul li a.btn02:hover {
    background-color: #e65c00;
    /* 背景色をホバー時に変更 */
    box-shadow: none;
}

/* メニューが開いた状態 */
.mobile-menu.active {
    right: 0;
}

/* スクロール後（ナビゲーションが白くなったとき） */
.scrolled .hamburger span {
    background: black !important;
    /* スクロール後に黒に変更 */
}

/* ハンバーガーアイコンがクリックされたときのアニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* スマホ版対応 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ====== 閉じるボタン（×） ====== */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.close-btn:hover {
    opacity: 0.7;
}

/* 通常時（白いロゴ） */
#logo {
    transition: opacity 0.3s ease-in-out;
}

/* スクロール後（色付きロゴ） */
.scrolled #logo {
    content: url(../images/logo-color.png);
    /* ロゴ画像を変更 */
}

.contact .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 44px;
    background-color: #06c755;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 26px;
    transition: background-color 0.3s;
}

.contact .btn:hover {
    background-color: #e65c00 !important;
    /* 背景色をホバー時に変更 */
}

p.f-l {
    font-size: 1.3rem;
}

p.f-ll {
    font-size: 2rem;
    font-weight: 800;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 768px) {
    .flex {
        display: block;
    }

    h1 {
        font-size: 1.758rem;
        padding: 0;
    }

    .a-center {
        display: block;
    }

    /* ===== ヘッダーの調整 ===== */
    .header {
        height: auto;
        /* 高さをさらに縮める */
        padding: 0px;
    }

    .flex img {
        width: 95px;
        height: 91px;
        margin-right: 0;
    }

    .header p {
        line-height: 1.6;
    }

    .header p.space-s {
        letter-spacing: -0.05rem;
    }

    .header p.left {
        text-align: left;
        margin-left: 8.5rem;
    }

    .header .container {
        left: 0;
        padding: 5rem 0rem 0;
        text-align: center;
        margin: 0 auto;
    }

    .under-page02 .header .container {
        left: 0;
        padding: 10px;
    }

    .under-page02 .header .container h1 {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    #animated-text02 {
        font-size: 1.85rem;
        /* フォントサイズをさらに縮小 */
        /* text-align: left; */
        text-align: center;
        flex-direction: column;
        /* アイコンとテキストを縦に配置 */
        padding: 0;
    }

    /* LINEアイコンを中央上部に配置 */
    #animated-text02::before {
        width: 30px;
        /* アイコンのサイズを小さく */
        height: 30px;
        margin-bottom: 8px;
    }

    /* サブテキスト */
    .fade-in {
        font-size: 14px;
        line-height: 1.5;
    }

    /* ===== ナビゲーション調整 ===== */
    .global-nav {
        height: 60px;
        /* ナビゲーションの高さを調整 */
        padding: 0;
    }

    .nav-links {
        display: none;
        /* スマホではメニューを非表示に（ハンバーガーを使用） */
    }

    .hamburger {
        display: flex;
        /* ハンバーガーメニューを表示 */
    }

    /* ===== CTAボタン ===== */
    .btn {
        padding: 8px 25px;
        font-size: 14px;
        border-radius: 20px;
    }

    /* ===== セクションのレイアウト調整 ===== */
    /* .features, .testimonials {
            padding: 30px 10px;
        } */
    .testimonials {
        padding: 30px 10px;
    }

    .feature-item {
        margin: 10px 0;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .feature-item p {
        font-size: 1.1rem;
    }

    .strengths {
        padding: 40px 6px;
    }

    .content-item,
    .content-item02,
    .content-item03,
    .content-item04,
    .content-item05 {
        width: 95%;
        margin: 0 auto;
    }

    /* ===== お客様の声（スライダー） ===== */
    .testimonial {
        flex: 0 0 100%;
        /* 1人分表示 */
    }

    .testimonial img {
        width: 100px;
        height: 106px;
    }

    /* ===== フッター ===== */
    .footer p {
        font-size: 0.8rem;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

.under-page02 .header {
    height: 70vh;
    /* 下層ページは50%の高さ */
    min-height: 70vh;
}

.global-nav {
    transition: background-color 0.3s ease;
}

.global-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    /* スクロール後の背景色 */
}

/* サービスセクション */
.services {
    text-align: center;
    background: #181818;
    padding: 60px 0px;
    color: white;
}

.services h2 {
    margin-bottom: 70px;
}

.services h3 {
   font-size: 1.5rem;
}

.services h3 span {
   font-size: 1.2rem;
}

span.subtitle {
    display: block;
    margin-top: 23px;
    font-size: 1.3rem;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
    /* margin-bottom: 30px; */
    /* color: #ccc; */
}

span.subtitle2 {
    display: block;
    margin-top: 0;
    font-size: 1.5rem;
    /* font-family: "Noto Sans JP", sans-serif; */
    font-family: "Noto Serif JP", serif;
    /* margin-bottom: 30px; */
    /* color: #ccc; */
}
@media (max-width: 768px) {
    span.subtitle {
        font-size: 1.2rem
    }
    p.f-ll {
        font-size: 1.5rem;
    }
}

/* グリッドレイアウト */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* PCでは2列 */
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各サービスカード */
.service-card {
    background: #222;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    /* ホバー時に少し浮く */
}

/* 画像コンテナ */
.image-container02 {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

/* 画像のスタイル */
.image-container02 img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease-in-out;
}

/* ホバー時に画像ズーム */
.service-card:hover .image-container02 img {
    transform: scale(1.1);
    /* 1.1倍に拡大 */
}

/* 画像上のタイトル */
.image-container02 h3 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    /* background: rgba(0, 0, 0, 0.6); */
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
    /* max-width: 90%; */
    width: 100%;
}

.image-container02 p {
    position: absolute;
    top: 22%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.image-container02 span {
    display: inline-block;
    font-weight: 800;
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* READ MORE ボタン（画像の下部に重ねる） */
.read-more {
    position: absolute;
    bottom: 5%;
    right: -6%;
    transform: translateX(-50%);
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.read-more:hover {
    color: #18e32c;
}

/* .read-more {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 45px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
}

.read-more:hover {
    background: white;
    color: #181818;
} */

/*  レスポンシブ対応（スマホ用） */
@media screen and (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        /* スマホでは1列 */
    }

    .image-container02 h3 {
        font-size: 20px;
        padding: 4px 8px;
    }

    .read-more {
        font-size: 16px;
        padding: 8px 25px;
        width: 40%;
    }
}


/* フッター */
.site-footer {
    text-align: left;
    /* background: #306ee8;
    background: -webkit-linear-gradient(310deg, #1c2331 0%, #3038e8 100%);
    background: -o-linear-gradient(310deg, #1c2331 0%, #3038e8 100%);
    background: linear-gradient(140deg, #1c2331 0%, #3038e8 100%); */
    font-size: 14px;
    padding: 50px 0 15px;
    color: white;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .footer-cta h2,
.site-footer .footer-cta .h2 {
    font-size: 30px;
    color: #fff;
}

.site-footer .btn:before {
    display: none;
}

.site-footer .widget {
    margin-bottom: 40px;
    display: block;
}

.site-footer .widget h3,
.site-footer .widget .h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}

/* .site-footer .widget .links {
        width: 150px; } */
.site-footer .widget .links li {
    margin-bottom: 10px;
}

.site-footer .social li {
    display: inline-block;
}

.site-footer .social li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    background: #306EE8;
    border-radius: 4px;
    color: #fff;
}

.site-footer .social li a:before {
    display: none;
}

.site-footer .social li a>span {
    width: 13px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.site-footer .social li a:hover {
    background: #fff;
    color: #306EE8;
}

@media (min-width: 992px) {
    .footer>.container {
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        margin-right: auto;
        margin-left: auto;
        width: 90%;
        max-width: 1200px;
    }
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: calc(-1* var(--bs-gutter-y));
}

@media (max-width: 780px) {
    .row>* {
        margin-bottom: 16px;
        padding-right: 0;
        padding-left: 0;
    }

    .row {
        display: block;
    }

    .site-footer {
        padding: 30px 20px 0;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        /* margin: 0 auto; */
        width: 33.33333%;
    }
}

.col-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.text-center {
    text-align: center !important;
}

.contact .btn._shiny {
    display: block;
    position: relative;
    padding: 1em 1.5em;
    background-color: #f7b419;
    box-shadow: 0 3px 0 0 #c6921a;
    border-radius: 40px;
    margin: 30px auto;
    font-weight: bold;
    font-size: 16px;
    max-width: 400px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 300ms;
}

.contact .btn._shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.contact .btn._shiny:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact .btn._shiny {
        width: 85%;
        font-size: 1.1rem;
        border-radius: 35px;
    }
}

.btn._shiny {
    display: block;
    position: relative;
    padding: 1em 1.5em;
    background-color: #06c755;
    box-shadow: 0 3px 0 0 #0e9948;
    border-radius: 40px;
    /* margin:30px auto; */
    font-weight: bold;
    font-size: 1rem;
    width: 30%;
    max-width: 450px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 300ms;
}

.btn._shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.btn._shiny:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .btn._shiny {
        width: 75%;
        margin: 30px auto 0;
        font-size: 1.2rem;
        padding: 0.9rem 1.5em;
    }
}

.nav-links .btn02 {
    display: block;
    /* position: relative; */
    padding: 0.5em 1.5em;
    background-color: #06c755;
    box-shadow: 0 3px 0 0 #0e9948;
    border-radius: 30px;
    /* margin: 30px auto; */
    font-weight: bold;
    font-size: 16px;
    /* width: 40%; */
    /* max-width: 350px; */
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 300ms;
}

.nav-links .btn02:hover {
    background-color: #e65c00;
    /* 背景色をホバー時に変更 */
    box-shadow: none;
}

img.img-full {
    width: 60px;
    display: block;
    margin: 0px 0 0 20px;
}

@media screen and (max-width: 768px) {
    img.img-full {
        margin: 0px 0 20px 3rem;
        float: left;
    }
}

/* 下層ページ */
h1.head {
    line-height: 1;
}

.under-page02>.header {
    justify-content: center;
}

.under-page02>.header>.container {
    text-align: center;
    left: 0;
}

.under-page02>.strengths {
    padding-top: 70px;
    background: #181818;
    color: #fff;
}

.under-page02 .strengths h2,
.under-page02 .contact h2 {
    font-size: 2.8rem;
    line-height: 0.9;
    margin-bottom: 3.8rem;
}

@media screen and (max-width: 768px) {
    .under-page02 .strengths h2,
    .under-page02 .contact h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
}

.under-page02 .strengths h2,
.under-page02 .strengths p {
    color: #fff;
}
.under-page02 .strengths p.under-bar {
    padding-bottom: 16px;
    border-bottom: 2px dashed #c3c3c3;
}

.under-page02 .strengths h2,
.under-page02 .contact h2 {
    margin-top: 0;
}

p.f-b {
    font-size: 1.2rem;
    font-weight: bold;
}

span.f-b {
    font-size: 1.2rem;
    font-weight: bold;
}

.flex-container {
    margin-top: 30px;
    display: flex;
    align-items: center;
    /* 垂直方向の中央揃え */
    gap: 10px;
    /* アイテム間の間隔を調整 */
}

.flex-container img {
    max-height: 68px;
    /* 画像の高さを統一（適宜調整） */
}

.flex-container p {
    margin: 0;
    /* 余計な余白をなくす */
    white-space: nowrap;
    /* 改行を防ぐ（必要に応じて削除） */
}

.flex-container02 {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.flex-container02 img {
    max-height: 78px;
    /* 画像の高さを統一（適宜調整） */
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .flex-container02 {
        margin-top: 50px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .flex-container02 img {
        max-height: 98px;
        margin-bottom: 16px;
    }
}

.anchor {
    scroll-margin-top: 80px;
    /* ヘッダーの高さ分ずらす（適宜調整） */
}

.ttl-h3 {
    color: white;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 0;
}

/* 画像コンテナ */
.image-container03 {
    position: relative;
    /* タイトル配置の基準 */
    width: 46%;
    /* 画像の横幅 */
    /* max-width: 300px; */
}

/* 画像 */
.image-container03 img {
    width: 100%;
    height: auto;
    border-radius: 25px;
}

.text-area02 {
    width: 47%;
    margin-top: 0 !important;
    text-align: left;
}

@media screen and (max-width: 768px) {

    .image-container03 {
        width: 100%;
        max-width: 100%;
    }

    .text-area02 {
        width: 100%;
    }

    .text-area02 h3.short {
        letter-spacing: -0.08rem;
    }

    .ttl-h3 {
        font-size: 1.5rem;
    }

    .under-page02 .strengths h2,
    .under-page02 .contact h2 {
        margin-bottom: 30px;
        font-size: 2.5rem;
    }
}

.pt-30 {
    padding-top: 30px !important;
}

/* バリュー内 */
.inner-l {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.circleItems {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 40px;
}

.circleItem {
    flex: initial;
    width: 45%;
    text-align: center;
    position: relative;
    /* 追加: h3 を重ねるため */
    overflow: hidden;
    /* 画像の枠を超えないように */
}

@media (max-width: 1080px) {
    .circleItem {
        width: 40%;
    }
}

/* 画像を暗くするオーバーレイ */
.circleItem::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 画像を暗くする */
    border-radius: 20px;
}

/* 画像のスタイル */
.circleItem-img {
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    /* h3 とオーバーレイの下にする */
}

/* 画像の中央に h3 を配置 */
.circleItem-txt {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.4;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 2;
    padding: 1rem;
    width: 100%;
    background-color: #00000091;
}

/* 説明テキストのスタイル */
.circleItem p {
    color: white;
    margin-top: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 3;
    /* h3 より下にならないように */
}

@media (max-width: 768px) {
    .inner-l {
        width: 90%;
    }

    .circleItem {
        width: 100%;
        /* 1つずつ縦並びにする */
    }

    .circleItem-txt {
        top: 78px;
        left: 50%;

    }

    .circleItem p {
        text-align: left;
        padding: 0 0.5rem;
    }
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.img-fluid-half40 {
    top: 43px;
    right: 1.5rem;
    color: #8c8c8c;
    width: 20%;
    opacity: 0.4;
    max-width: 350px;
    height: auto;
}

@media (max-width: 500px) {
    .img-fluid-half40 {
        width: 50%;
        max-width: 250px;
        height: auto;
    }
}

.text-end {
    text-align: right !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* テーブルの基本スタイル */
.company-table {
    width: 90%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 70px auto;
    line-height: 1.5;
}

/* 見出し部分（左側） */
.company-table th {
    background-color: #e2e9f0;
    color: #131e3d;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    width: 30%;
    border: 1px solid #131e3d;
}

/* 内容部分（右側） */
.company-table td {
    padding: 24px;
    border: 1px solid #131e3d;
    background-color: #ffffff;
    color: #131e3d;
    text-align: left;
}

/* スマホ版（768px以下）は1列表示 */
@media (max-width: 768px) {
    .company-info {
        width: 100%;
    }

    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 97%;
    }

    .company-table th {
        background-color: #e2e9f0;
        text-align: left;
        padding: 15px;
        color: #131e3d;
        border: 1px solid #131e3d;
    }

    .company-table td {
        background-color: white;
        padding: 15px;
        border-top: none;
        color: #131e3d;
    }

    /* .company-table tr {
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd;
    } */
}

.privecy {
    max-width: 900px;
    margin: 70px auto;
}

.privecy dl {
    display: block;
}

.privecy dt {
    font-weight: 700;
    border-radius: 0;
}

.privecy dt {
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-left: 5px solid #323232;
    border-bottom: 2px solid #b5b5b5;
    font-size: 1.1rem;
    color: #323232;
    margin-top: 20px;
    margin-bottom: 15px;
}

.privecy dd {
    margin-bottom: 2rem;
    margin-left: 0;
    padding-left: 1.3rem;
    color: #323232;
}

.privecy dl.p-l-1 {
    padding-left: 1.3rem;
}

/* スマホ版（768px以下） */
@media (max-width: 768px) {
    .privecy {
        width: 95%;
        margin: 50px auto;
    }

    .privecy dl.p-l-1 {
        padding-left: 0.8rem;
    }

    .privecy dt {
        padding: 0.5rem 0 0.5rem 0.5rem;
        font-size: 1rem;
    }

    .privecy dd {
        font-size: 0.95rem;
        padding-left: 0.8rem;
    }
}

.company-table ul {
    list-style: disc;
    padding-left: 1rem;
}

.company-table li {
    text-indent: -4px;
    padding-bottom: 6px;
}

.company-table li span {
    font-weight: bold;
}

.company-table dl {
    display: block;
    line-height: 2;
}

.company-table dt {
    color: #131e7c;
    font-weight: 400;
}

.company-table dt {
    display: inline-block;
    padding: 0;
}

.company-table dd {
    display: inline-block;
    /* padding: 0; */
}

@media (max-width: 500px) {
    .company-table dl {
        line-height: 1.5;
    }

    .company-table dt {
        display: block;
        padding: 0;
        font-size: 0.9rem;
    }

    .company-table dd {
        display: block;
        padding-left: 0.5rem;
        padding-bottom: 6px;
    }
}


/* フォーム全体のデザイン */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
}

/* 入力フィールドのデザイン */
input[type="text"],
input[type="email"],
textarea {
    width: 96%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* フォーカス時のスタイル */
input:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.2);
}

/* テキストエリアの高さ調整 */
textarea {
    resize: vertical;
    min-height: 150px;
}

/* 送信ボタンのデザイン */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

/* ホバー時のボタン */
.btn-primary:hover {
    background: #0056b3;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .form-container {
        width: 90%;
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 14px;
        width: 91%;
    }

    .btn-primary {
        font-size: 16px;
    }
}

.required-text::before {
    content: "必須";
    display: inline-block;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 8px;
}

ul.list-styled {
    list-style: disc;
    padding-left: 2rem;
}

.bold {
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

h5 {
    font-size: 1rem;
    color: #022894;
    margin-bottom: 1rem;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.pt-50 {
    padding-top: 50px !important;
}

/* サービスセクション（新） */
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.section.row-reverse {
    flex-direction: row-reverse;
}

.section.row-normal {
    flex-direction: row;
}

.text {
    flex: 1 1 50%;
    text-align: left;
    line-height: 1.75;
    padding-left: 1.5rem;
    padding-right: 1rem;
}

.image {
    flex: 1 1 45%;
}

.image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* タイトルスタイル */
.text h2 {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 35px;
    line-height: 1.4;
}

.text .h3 {
    font-weight: bold;
    display: block;
    font-size: 1rem;
    margin-top: 20px;
    color: #ffffff;
    border-radius: 15px;
    /* border: solid 1px #fff; */
    padding: 6px 20px;
    /* background-color: #ffffff; */
}

.read_more {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.read_more:hover {
    color: #fff;
}

/* タブレットサイズ */
@media screen and (min-width: 769px) and (max-width: 1200px) {
    .text {
        flex: 1 1 40% !important;
    }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .image,
    .text {
        flex: 1 1 100%;
    }

    .image img {
        height: auto;
    }

    .text h2 {
        margin-bottom: 20px;
    }

    .text .h3 {
        padding: 10px;
    }
}


.banner-area {
    background-color: #181818;
    padding: 50px 30px 30px;
    text-align: center;
}

.banner-area img {
    max-width: 980px;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {

    .banner-area img {
        width: 95%
    }

    .banner-area {
        padding: 30px 0 0;
    }
}

h3.white {
    color: #fff;
    font-size: 1.5rem;
}

.heading-24 {
    position: relative;
    padding-top: 1.5em;
    color: #ffffff;
}

.heading-24::before {
    position: absolute;
    bottom: 5%;
    left: 24%;
    z-index: -1;
    color: #3f3f3f;
    font-size: 2em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}
h2.heading-24 span {
    font-size: 2.3rem;
}
.text-area dd {
    background-color: #fffe03;
    padding: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.double-banner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0 0;
}

.banner-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-left,
.banner-right {
    flex: 1 1 48%;
}

/* スマホ対応：縦並び */
@media screen and (max-width: 768px) {
    .banner-inner {
        flex-direction: column;
    }

    .banner-left,
    .banner-right {
        flex: 1 1 100%;
    }
}

.banner-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
    /* 高さを揃えるポイント！ */
}

.banner-left,
.banner-right {
    flex: 1 1 48%;
    display: flex;
}

.banner-left img,
.banner-right img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    object-fit: cover;
}

/* 右側YouTubeサムネイルの高さ合わせ */
.banner-right img {
    height: 100%;
}

/* スマホ：縦並びなので調整解除 */
@media screen and (max-width: 768px) {

    .banner-left,
    .banner-right {
        flex: 1 1 100%;
        display: block;
    }

    .banner-left {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-right img {
        height: auto;
    }

    .banner-inner {
        flex-direction: column;
        align-items: initial;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* コラムページバナー設置 */
.c-head {
    margin-top: 30px;
    margin-bottom: 30px;
    height: auto;
    width: 100%;
}
.c-head a {
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease; /* ゆっくり透過させる */
}
.c-head a:hover {
    opacity: 0.7; /* 少し透過させる */
}
.c-head img {
    width: 100%;
}

/* コラムページバナー設置 おわり*/


/* グローバルナビにドロップダウン追加　↓↓↓↓　*/
/* ドロップダウン全体 */
.nav-links .dropdown {
  position: relative;
}

/* サブメニューの初期状態：非表示 */
.nav-links .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  z-index: 999;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 0;
  list-style: none;
}

/* サブメニューの各リンク */
.nav-links .submenu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

/* ホバー時の表示 */
.nav-links .dropdown:hover .submenu {
  display: block;
}

/* サブメニュー hover時のスタイル */
.nav-links .submenu li a:hover {
  background: #fff;
}
/* PC用：通常時は非表示、hoverで表示 */
.nav-links .submenu {
  display: none;
  position: absolute;
  background: #ffffff7a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 999;
  min-width: 220px;
  /* margin-top: 8px; */
  border-radius: 5px;
  overflow: hidden;
}

.nav-links .dropdown:hover .submenu {
  display: block;
}

/* サブメニュー共通 */
.submenu,
.submenu-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu li a,
.submenu-mobile li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  background: #ffffffc7;
  text-decoration: none;
}

.submenu li a:hover,
.submenu-mobile li a:hover {
  background: #ffffff;
}

/* モバイル用：アコーディオン式に非表示から */
.submenu-mobile {
  display: none;
  padding-left: 15px;
}

.arrow02 {
  font-size: 0.8em;
  margin-left: 5px;
}

/* スマホ表示調整 */
@media screen and (max-width: 768px) {
  .dropdown-mobile .submenu-mobile {
    transition: max-height 0.3s ease;
    overflow: hidden;
  }
}
/* モバイル用：初期状態では非表示 */
.submenu-mobile {
  display: none;
  padding-left: 15px;
  background: #f9f9f9;
}

.dropdown-toggle {
  cursor: pointer;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
}

.dropdown-toggle .arrow02 {
  font-size: 0.8em;
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  /* スマホメニュー内のリンクを全体 flex で整列 */
  .mobile-menu ul li {
    position: relative;
  }

  .dropdown-toggle {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    box-sizing: border-box;
    background: none;
    border: none;
    color: #000;
    text-align: left;
  }

  .dropdown-toggle .arrow02 {
    margin-left: auto;
    font-size: 0.9em;
    line-height: 1;
  }

  /* サブメニューもわかりやすくする */
  .submenu-mobile {
    background: #f9f9f9;
    padding-left: 20px;
  }

  .submenu-mobile li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    background: none;
  }
}
@media screen and (max-width: 768px) {
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu ul li {
    position: relative;
    width: 100%;
  }

  .dropdown-toggle {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    color: #000;
    background: none;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
  }

  .dropdown-toggle .arrow02 {
    font-size: 0.9em;
    margin-left: 8px;
    flex-shrink: 0;
  }

  .submenu-mobile {
    display: none;
    background: none;
    padding-left: 0;
    margin: 0;
  }

  .mobile-menu ul .submenu-mobile li a {
    display: block;
    padding: 10px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 15px;
    text-align: left;
  }

  .submenu-mobile li a:hover {
    background: #eee;
  }
}

@media screen and (max-width: 768px) {
  .submenu-mobile li {
    margin: 0;
    padding: 0;
  }

  .submenu-mobile li.dashed-line {
    border-bottom: 1px dashed #ccc;
    padding: 8px;
  }

  .submenu-mobile li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    background: none;
  }

  .submenu-mobile li a:hover {
    background: #eee;
  }
  
  .submenu-mobile li:first-child {
    border-top: 1px dashed #ccc;
    margin-top: 1rem;
  }
  
  .submenu-mobile li:last-child {
    margin-bottom: 0;
  }
  
  .mobile-menu ul .submenu-mobile li a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    position: relative;
  }

  .mobile-menu ul .submenu-mobile li .arrow-right {
    margin-left: auto;
    font-size: 1em;
  }
  .mobile-menu {
    overflow-y: auto; 
  }
}
.catch {
    color: #fff;
    font-size: 1.8em;
}
    .faq-box {
      background-color: #ffffff;
      border: 2px solid #034eb4;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
      max-width: 750px;     
      margin: 0 auto 20px;
    }
    .question {
      font-weight: bold;
      font-size: 1.2em;
      color: #034eb4;
      margin-bottom: 10px;
    }
    .answer {
      font-size: 1em;
      color: #333;
    }
    .answer span {
        color: tomato;
        font-size: 1.3rem;
        padding-right: 10px;
        font-weight: bold;
    }

@media screen and (max-width: 768px) {
    .faq-box {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
    .heading-24::before {
        left: 10.5%;
        top: 23px;
        font-size: 1.6em;
    }
}    

/* グローバルナビにドロップダウン追加おわり　↑↑↑↑　*/


img.c-voice {
    width: 150px;
}
/* .voice-box {
    width: 800px;
} */
.c-voice-comment {
  position: relative;
  font-size: 1.2em;
  padding: 2em;
  width: 45vw;
  margin: 0 auto;
}

.c-voice-comment::before {
  content: "❝";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3em;
  line-height: 1;
  color: #ccc;
}

.c-voice-comment::after {
  content: "❞";
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 3em;
  line-height: 1;
  color: #ccc;
}
@media screen and (max-width: 768px) {

.c-voice-comment {
    width: 82vw;
    font-size: 1rem;
}
.c-voice-comment::before,
.c-voice-comment::after {
    display: none;
}
}
.p-l-1 {
    padding-left: 1rem;
}

.pc-text {
  display: inline;
}
.sp-text {
  display: none;
}
.note {
  display: block;
  font-size: 0.9em;
  line-height: 1.3;
  margin-top: 0.5em;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .pc-text {
    display: none;
  }
  .sp-text {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sp-text .slash {
    font-size: 2em;
    line-height: 1;
    padding: 0 0.2em;
  }
  .sp-text .text-block {
    text-align: center;
  }
  .note {
    font-size: 0.85em;
    margin-top: 0.3em;
    line-height: 1.2;
  }
}
