
    /* background.css */
    /* スマホで見た時に\/がずれるのを修正 */
    /* h2見出しの文字サイズを大きく */
    /* 余白を削除 */
    /* 背景色 */
    /* 背景色 */
    /* nayami----------------------------------------------------- */
    /* セクション全体のスタイル */
    /* タイトルのスタイル */
    /* タイトル内の大きな文字 */
    /* グリッドのスタイル */
    /* 各アイテムのスタイル */
    /* アイコン画像の設定 */
    /* 各アイコン画像のスタイル */
    /* アイコン1 */
    /* アイコン2 */
    /* アイコン3 */
    /* アイコン4 */
    /* テキストのスタイル */
    /* 矢印の画像 */
    /* ----------------------------------------------------- */
    /* ----------------------------------------------------- */
    /* 親要素 */
    /* 背景画像 */
    /* テキスト */
    /* about------------------------------------------------------------ */
    /* PC時の設定 */
    /* スマホ用のレスポンシブ設定 */
    /* 画像の背景を白にし、黒枠を追加し、上下に余白を追加 */
    /* 続きを読む------------------------------------------------------------ */
    /* チェックが入ったら続きを表示 */
    /* 「続きを読む」ボタンのスタイル */
    /* ホバー時のスタイル */
    /* 「続きを読む」→「閉じる」の切り替え */
    /* end　続きを読む------------------------------------------------------------ */
    /* end　about------------------------------------------------------------ */
    /* 業種別おすすめ------------------------------------------------------------ */
    /* セクション全体のスタイル */
    /* カードコンテナのグリッド設定 */
    /* 各カードのスタイル */
    /*
    .card header img {
      width: 80px;
      height: 80px;
      margin-bottom: 10px;
    }
    */
    /* 箇条書きリスト */
    /* 詳細コンテンツ */
    /* end------------------------------------------------------------ */
    /* ivrrei------------------------------------------------------------ */
    /* end　ivrrei------------------------------------------------------------ */
    /* price------------------------------------------------------------ */
    /* end　price------------------------------------------------------------ */
    /* scroll------------------------------------------------------------ */
    /* end scroll------------------------------------------------------------ */
    /* 分岐のところ------------------------------------------------------------ */
    /* end分岐のところ------------------------------------------------------------ */
    /* 箇条書きのところ------------------------------------------------------------ */


@media only screen and (min-width: 769px) {
    #popup .p-home-fv__top {
        background: url(../images/main_bg.webp) no-repeat;
        padding: 15px 0;
        background-size: 50% auto;
        background-position: top right;
    }
}

@media only screen and (min-width: 1200px) {
    #popup .p-home-fv__top {
        background-size: 809px 500px;
        background-position: top right;
    }
}

@media only screen and (max-width: 768px) {
    #popup .p-home-fv__top {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

@media only screen and (max-width: 768px) {
    #popup .p-home-fv__btn-txt img {
        width: calc(100% - 100px);
    }
}

#popup .p-home-section__ttl-area {
    font-size: 2.4rem;
    /* 見出しの文字サイズを大きく */
    font-weight: bold;
    /* 太字で目立たせる */
    text-align: center;
    /* 中央揃え（必要に応じて） */
    margin-bottom: 1.5rem;
    /* 下部に余白を追加 */
    color: #000;
    /* 必要に応じて色を設定 */
}

#popup #about.l-stack-lg {
    padding-top: 20px;
}

#popup .p-home-section__ttl-area {
    margin-bottom: 0;
    /* h2の下の余白を削除 */
}

#popup .p-home-section__txt-area {
    margin-top: 0;
    /* 下部コンテンツの上余白を削除 */
}

#popup .bg-gray {
    background: #F3F3F3;
    padding: 100px 0;
}

#popup .c-bg-green {
    background: #e0f2ec;
    padding-top: 20px;
    padding-bottom: 20px;
}

#popup #nayami {
    position: relative;
    padding-top: 82px;
    padding-bottom: 0;
    /* 全体の下部余白を削除 */
}

@media only screen and (max-width: 768px) {
    #popup #nayami {
        padding: 2em 0;
    }
}

#popup .c-heading-left-border {
    font-size: 3rem;
    letter-spacing: 0.05em;
    padding-top: 2.5em;
    margin-top: 1.8rem;
    margin-bottom: 1.8rem;
    text-indent: -0.5em;
    padding-left: 0.5em;
}

@media only screen and (max-width: 768px) {
    #popup .c-heading-left-border {
        font-size: 1.8rem;
        margin-bottom: 1em;
        padding-top: 1em;
    }
}

#popup .c-heading-left-border::before {
    content: "";
    background: url(../images/icon-heading-left-border.png) no-repeat;
    width: 3px;
    height: 40px;
    margin-right: 0.5em;
    background-size: 100%;
    display: inline-block;
    vertical-align: -9px;
}

#popup .ttl .-lg {
    font-size: 4rem;
}

#popup .grid {
    display: flex;
    gap: 20px;
}

@media only screen and (max-width: 768px) {
    #popup .grid {
        flex-direction: column;
    }
}

#popup .item {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #2E3239;
    padding: 36px 12px 45px 12px;
    line-height: 1.73em;
    position: relative;
}

@media only screen and (min-width: 768px) {
    #popup .item {
        width: 25%;
    }
}

@media only screen and (max-width: 768px) {
    #popup .item {
        width: 100%;
        padding: 20px 50px 40px 20px;
    }
}

#popup .item::after {
    content: "";
    background-size: 100%;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    bottom: -21px;
    right: -5px;
}

#popup .item::after {
    content: "";
    background-size: contain;
    /* 画像全体を要素内に収める */
    background-repeat: no-repeat;
    /* 繰り返し表示を防ぐ */
    background-position: center;
    /* 画像を中央に配置 */
    display: inline-block;
    position: absolute;
    bottom: -21px;
    right: -5px;
}

#popup .item.-icon01::after {
    background-image: url(../images/icon-nayami01.png);
    width: 81px;
    /* アイコンの幅 */
    height: 81px;
    /* アイコンの高さ */
}

#popup .item.-icon02::after {
    background-image: url(../images/icon-nayami02.png);
    width: 80px;
    height: 85px;
}

#popup .item.-icon03::after {
    background-image: url(../images/icon-nayami03.png);
    width: 80px;
    height: 80px;
}

#popup .item.-icon04::after {
    background-image: url(../images/icon-nayami04.png);
    width: 80px;
    height: 81px;
}

#popup .txt {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

#popup .down {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 768px) {
    #popup .down img {
        width: 80px;
    }
}

#popup .grid .item {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #2E3239;
    padding: 36px 12px 45px 12px;
    line-height: 1.73em;
    position: relative;
    z-index: 100;
    /*追加*/
}

#popup .container {
    position: relative;
    /* 子要素を基準に配置 */
    width: 100%;
    /* 必要に応じて全体幅を指定 */
    height: 200px;
    /* 必要に応じて全体高さを指定 */
    display: flex;
    /* フレックスボックスで中央揃え */
    justify-content: center;
    /* 水平方向中央揃え */
    align-items: center;
    /* 垂直方向中央揃え */
    background-color: #f3f3f3;
    /* 背景色（必要なら削除） */
    overflow: hidden;
    /* 子要素がはみ出ないように */
}

#popup .background-image {
    position: absolute;
    /* 親要素内で絶対位置 */
    width: 134px;
    /* 固定幅 */
    height: 73px;
    /* 固定高さ */
    background-image: url("../images/icon-down.png");
    /* 背景画像を指定 */
    background-size: contain;
    /* 画像を要素内に収める */
    background-repeat: no-repeat;
    /* 繰り返しを防ぐ */
    background-position: center;
    /* 背景画像を中央に配置 */
    top: 50%;
    /* 親要素の高さの50% */
    left: 50%;
    /* 親要素の幅の50% */
    transform: translate(-50%, -50%);
    /* 完全な中央揃え */
    z-index: 1;
    /* 背景レイヤー */
}

#popup .text-overlay {
    position: relative;
    /* 背景画像の上に配置 */
    z-index: 2;
    /* 背景画像より前に表示 */
    font-size: 2.8rem;
    /* テキストサイズ */
    font-weight: bold;
    /* 太字 */
    color: #000;
    /* テキストの色 */
    text-align: center;
    /* テキストを中央揃え */
    pointer-events: none;
    /* クリックを透過（必要に応じて） */
    font-family: "Noto Sans JP", sans-serif;
}

#popup .p-home-section__txt-area {
    max-width: 1000px;
    /* 最大幅 */
    margin: 0 auto;
    /* 中央揃え */
    padding: 20px;
    /* 内側の余白 */
}

#popup .p-home-section__txt {
    line-height: 1.8;
    /* 行間 */
    font-size: 1.6rem;
    /* フォントサイズ */
    color: #333;
    /* テキスト色 */
    text-align: justify;
    /* 必要に応じて両端揃え */
}

#popup #about .reason {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 20px;
}

#popup #about .reason li {
    width: 23%;
    /* 4つ均等に配置 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popup #about .reason li img {
    width: 100%;
    height: auto;
    max-width: 215px;
    /* 画像サイズを統一 */
}

@media (max-width: 768px) {
    #popup #about .reason {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        /* 中央揃え */
    }

    #popup #about .reason li {
        width: 100%;
        /* 幅いっぱい */
        max-width: 300px;
        /* 最大幅を設定（適宜調整） */
        margin-bottom: 20px;
        /* 下に余白を追加 */
    }
}

#popup .content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

#popup .image-container {
    flex-shrink: 0;
}

#popup .special-image {
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 10px;
    /* 角丸10px */
    padding: 10px;
    margin: 10px 0;
    /* 上下の余白を追加 */
}

#popup .text-container {
    text-align: left;
}

#popup .title {
    font-size: 2rem;
    font-weight: bold;
}

#popup .description {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.6;
}

#popup .readmore {
    position: relative;
}

#popup .readmore input {
    display: none;
    /* チェックボックスを非表示 */
}

#popup .readmore-content {
    position: relative;
}

#popup .readmore-content .readmore-hidden {
    display: none;
    /* 初期状態で非表示 */
}

#popup .readmore input:checked+.readmore-content .readmore-hidden {
    display: inline;
}

#popup .readmore-label {
    display: block;
    text-align: center;
    background-color: #ffffff;
    /* 背景色を白に変更 */
    color: #000;
    /* 黒文字 */
    padding: 10px 20px;
    border-radius: 10px;
    /* 角丸 */
    border: 1px solid #000;
    /* 黒の枠線を追加 */
    cursor: pointer;
    width: fit-content;
    margin: 10px auto;
    /* 中央配置 */
    font-size: 14px;
}

#popup .readmore-label:hover {
    background-color: #bdbdbd;
    /* すこし濃いグレー */
}

#popup .readmore input:checked+.readmore-content+.readmore-label::after {
    content: " 閉じる";
}

#popup .readmore input:not(:checked)+.readmore-content+.readmore-label::after {
    content: " 続きを読む";
}

#popup #smallcallcenter,
#popup #officedenwa {
    padding: 20px;
}

#popup .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#popup .card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

#popup .card {
    background-color: #ffffff;
    border: 2px solid #d5d5d5;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

#popup .card:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    #popup .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #popup .card-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

#popup .card header {
    text-align: center;
    margin-bottom: 15px;
}

#popup .card header h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #000;
}

#popup .card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

#popup .card ul li {
    font-weight: bold;
    color: #f93580;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

#popup .card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f93580;
    font-size: 1.4rem;
}

#popup .card .card-content {
    margin-top: 15px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #000000;
}

#popup .card-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#popup .card-content-bold {
    font-weight: bold;
}

#popup .ivr-image-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

#popup .ivr-image {
    width: 100%;
    height: auto;
    display: block;
}

#popup .ivr-note {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #666;
    text-align: left;
    line-height: 1.8;
}

#popup .ivr-demo {
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    text-align: center;
    background-color: #f9f9f9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#popup .ivr-demo-title {
    font-size: 2rem;
    font-weight: bold;
}

#popup .ivr-demo-number {
    font-size: 2.4rem;
    font-weight: bold;
    color: #01f2a7;
    letter-spacing: 0.1em;
}

#popup .ivr-tel-link {
    color: #000;
    text-decoration: none;
}

#popup .ivr-tel-link:hover {
    text-decoration: underline;
    color: #01f2a7;
}

#popup .ivr-demo-note {
    font-size: 1.7rem;
    color: #666;
}

#popup .ivr-guide {
    margin-top: 10px;
    padding: 15px;
}

#popup .price-heading {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 20px;
    border-left: 5px solid #2BF9B5;
    padding-left: 10px;
}

#popup .price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #d5d5d5;
}

#popup .price-table th,
#popup .price-table td {
    padding: 12px;
    border: 1px solid #d5d5d5;
    text-align: left;
}

#popup .price-table th {
    background-color: #f3f3f3;
    font-weight: bold;
    width: 30%;
}

#popup .small-text {
    font-size: 1.5rem;
    color: #000000;
    display: block;
    margin-top: 5px;
}

#popup .option-set {
    margin-top: 20px;
}

#popup .option-set-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
}

#popup .option-set-image {
    width: 50%;
    height: auto;
    max-width: 400px;
}

#popup .option-set-text {
    flex-grow: 1;
    text-align: left;
}

#popup .option-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#popup .price-bold {
    font-size: 2.5rem;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    #popup .option-set-content {
        flex-direction: column;
        text-align: left;
    }

    #popup .option-set-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.7;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#popup .p-home-center {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popup .scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: scrollAnimation 1.5s infinite ease-in-out;
}

#popup .scroll-down__text {
    font-size: 14px;
    color: #a8a8a8;
    font-family: "Arial", sans-serif;
    letter-spacing: 1px;
    animation: scrollAnimation 1.5s infinite ease-in-out;
}

#popup .scroll-down__icon {
    width: 30px;
    height: auto;
}

#popup .p-home-ttl__main.page-specific {
    margin-bottom: 10px;
    /* このページだけ margin-bottom を小さくする */
}

#popup #bunki {
    margin-bottom: 40px;
}

#popup .c-benefits-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#popup .c-benefits-list {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#popup .c-benefits-list li {
    text-align: left;
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    color: #f93580;
    position: relative;
    padding-left: 25px;
}

#popup .c-benefits-list li::before {
    top: 50%;
    transform: translateY(-50%);
    content: "✓";
    position: absolute;
    left: 0;
    color: #f93580;
    font-size: 1.4em;
}

@media (max-width: 768px) {
    #popup .c-benefits-container {
        display: block;
    }

    #popup .c-benefits-list {
        flex-direction: column;
        align-items: center;
    }

    #popup .c-benefits-list li {
        flex-basis: 100%;
        margin-bottom: 10px;
    }
}

/* ====== モーダル背景 ====== */
.modal {
    display: none; 
    position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.95); /* ← 背景を白に変更 */

   /* 中央寄せ */
  align-items: center;
  justify-content: center;

  overflow: auto; /* ← これを追加（モーダル全体で縦スクロール可） */

}


/* ====== モーダル内容 ====== */
.modal-content {
  position: relative;
  margin: 5% auto;
  display: block;
  max-width: 100%;
  max-height: 90vh; /* ← 画面高の9割に制限して中身が溢れたらスクロール */
  overflow: auto;    /* ← 中身だけスクロールもOK */
}


/* ====== 閉じるボタン ====== */
.close {
position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  font-size: 22px;
  padding: 2px 10px;
  cursor: pointer;
}
