@charset "utf-8";
/* CSS Document */
:root {
  /* clampの値を共通の変数として定義 */
  --fluid-padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
}

/* =========================================
   コンテンツボディ & サイドバー
========================================= */
/* 改行設定 */
.pc { display: block;}

/* スマホ */
@media (max-width: 1279px) {
.pc { display: none;}
}

/* margin */
.mb { margin-bottom: clamp(1.75rem, 1.25rem + 2.5vw, 3.125rem); }

.content-body { width: 100%; margin: 0px auto; padding: 0;}
.main-content { padding-top: var(--fluid-padding); padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-bottom: 40px; background: #FFF url("../img/common/cont_back.webp?=202608040910") no-repeat bottom center/cover;}
.main-content02 { background-color: #f5f5f7;}
.main-content-wrap { padding: 50px clamp(1.563rem, 0.994rem + 2.84vw, 3.125rem) clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); background-color: #fff; border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08);}
.main-content-wrap2 { margin-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem) clamp(1.563rem, 0.994rem + 2.84vw, 3.125rem); background-color: #fff; border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08);}
.main-content-wrap3 { margin-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem) clamp(1.563rem, 0.994rem + 2.84vw, 3.125rem) clamp(0.938rem, 0.869rem + 0.34vw, 1.125rem); background-color: #fff; border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.06);}
.main-content-wrap4 { margin-top: clamp(5rem, 4.773rem + 1.14vw, 5.625rem); padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem) clamp(1.563rem, 0.994rem + 2.84vw, 3.125rem); background-color: #fff; border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08);}

.cont-header-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); background-color: #FFF; padding-bottom: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);}
.cont-header-wrap img { width: 100%;}
.cont-header-wrap center { width: 86%; margin: 10px auto 0; font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light);}
.cont-header-wrap2 { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); background-color: #FFF; padding-bottom: 0; margin-bottom: 0;}
.cont-header-wrap2 img { width: 100%; display: block;}

.cont-1st-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: 40px; background-color: #FFF; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: var(--fluid-padding); padding-bottom: var(--fluid-padding); background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-2nd-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: 40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: var(--fluid-padding); padding-bottom: var(--fluid-padding); background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-2nd-wrap center { width: 86%; margin: -20px auto 0; font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light);}

.cont-3rd-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(0.25rem, 0.159rem + 0.45vw, 0.5rem); padding-bottom: var(--fluid-padding); background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-4th-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(0.25rem, 0.159rem + 0.45vw, 0.5rem); padding-bottom: var(--fluid-padding); background: linear-gradient(to bottom, #ffffff, #effff5);}
.cont-5th-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(0.25rem, 0.159rem + 0.45vw, 0.5rem); padding-bottom: var(--fluid-padding); background: linear-gradient(to bottom, #ffffff, #f8f5e8);}
.cont-6th-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); padding-bottom: clamp(4.375rem, 4.239rem + 0.68vw, 4.75rem); background: linear-gradient(to bottom, #ffffff, #bfecff);}
.cont-7th-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); padding-bottom: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem); background-color: #FFFFFF;}
.cont-8th-wrap { margin-top: calc(var(--fluid-padding) * -1); margin-left: calc(var(--fluid-padding) * -1); margin-right: calc(var(--fluid-padding) * -1); margin-bottom: -40px; padding-left: var(--fluid-padding); padding-right: var(--fluid-padding); padding-top: clamp(0.125rem, 0.034rem + 0.45vw, 0.375rem); padding-bottom: clamp(0.125rem, 0.034rem + 0.45vw, 0.375rem); background-color: #d7f3ff;}

@media (min-width: 1100px) {
.content-body { display: flex; align-items: flex-start; gap: 10px;}
.main-content { flex: 1; min-width: 0; padding: 40px 50px;}
.main-content02 { flex: 1; min-width: 0; }
.cont-header-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; padding-bottom: 25px;}
.cont-header-wrap center { width: 90%; margin: 20px auto; font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem); color: var(--color-text-light);}
.cont-header-wrap2 { margin-top: -40px; margin-left: -50px; margin-right: -50px; padding-bottom: 0; margin-bottom: 0;}
.cont-header-wrap2 center { width: 90%; margin: 20px auto; font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem); color: var(--color-text-light);}
.cont-1st-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: 40px; padding: 30px 50px 25px; background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-2nd-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: clamp(1.75rem, 1.25rem + 2.5vw, 3.125rem); padding: 30px 50px clamp(1.75rem, 1.25rem + 2.5vw, 3.125rem); background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-2nd-wrap center { width: 90%; margin: -20px auto; font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem); color: var(--color-text-light);}
.cont-3rd-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: 10px 50px clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem); background: linear-gradient(to bottom, #ffffff, #e0f6ff);}
.cont-4th-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: 10px 50px clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem); background: linear-gradient(to bottom, #ffffff, #effff5);}
.cont-5th-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: 10px 50px clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem); background: linear-gradient(to bottom, #ffffff, #f8f5e8);}
.cont-6th-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem) 50px clamp(4.375rem, 4.239rem + 0.68vw, 4.75rem); background: linear-gradient(to bottom, #ffffff, #bfecff);}
.cont-7th-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem) 50px; background-color: #FFFFFF;}
.cont-8th-wrap { margin-top: -40px; margin-left: -50px; margin-right: -50px; margin-bottom: -40px; padding: 0 50px clamp(0.375rem, 0.284rem + 0.45vw, 0.625rem); background-color: #d7f3ff;}
}
/* =========================================
   エリア間の下向き三角装飾（6番目 → 7番目）
========================================= */
.cont-7th-wrap {
    position: relative; /* 疑似要素（三角形）の基準点として必須 */
}

.cont-7th-wrap::before {
    content: "";
    position: absolute;
    top: 0; /* 7番目エリアの最上部（＝背景の切り替わり位置）に配置 */
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    width: 0;
    height: 0;
    /* 直前のエリアの下部グラデーション色（#e0f6ff）と同じ色で三角形を描画 */
    border-top: 30px solid #bfecff; 
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    z-index: 10; /* 他の要素より手前に表示 */
    pointer-events: none; /* 三角形部分の誤クリックを防止 */
}

/* スマホ表示用に少しだけ三角形のサイズを調整 */
@media (max-width: 767px) {
    .cont-7th-wrap::before {
        border-top: 25px solid #bfecff;
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
    }
}
/* =========================================
   リンクカード（窓口ボタン）のデザイン
========================================= */
.link-card-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(1rem, 0.942rem + 0.31vw, 1.25rem);}

/* 製品一覧用 */
.link-card-product-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); }
.link-card-product-container img { width: 100%; }

/* 製品一覧用 768px以下（タブレット・スマホ）は1列の中央寄せ */
@media (max-width: 768px) {
.link-card-container { grid-template-columns: 1fr; width: 100%; margin-left: auto; margin-right: auto; }
.link-card-product-container { grid-template-columns: 1fr; width: 100%; margin-left: auto; margin-right: auto; }
}

.link-card { display: flex; justify-content: space-between; align-items: center; padding: clamp(0.938rem, 0.865rem + 0.38vw, 1.25rem) clamp(1.25rem, 1.106rem + 0.77vw, 1.875rem); background-color: var(--color-white); border: 1px solid var(--color-border); border-radius: 8px; text-decoration: none; color: var(--color-primary); font-size: clamp(1rem, 0.971rem + 0.15vw, 1.125rem); font-weight: bold; transition: all 0.3s ease; box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.06);}
.product-link-card { display: flex; justify-content: space-between; align-items: center; padding: 0; text-decoration: none;}

.link-card i { color: var(--color-hover-blue); font-size: clamp(1rem, 0.971rem + 0.15vw, 1.125rem); transition: color 0.3s ease, transform 0.3s ease;}

/* ホバーアクション */
.link-card:hover { background-color: var(--color-hover-blue); color: var(--color-white); border-color: transparent; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);}

/* アイコンが右へスッと動く */
.link-card:hover i { color: var(--color-white); transform: translateX(6px);}

/* 規約コンテンツ側 */
.content-body h2 { text-align: center; margin-bottom: 50px; line-height: 1.2; font-size: clamp(1.188rem, 1.13rem + 0.31vw, 1.438rem); color: var(--color-primary); font-weight: bold;}
.content-body h4 { font-size: clamp(0.875rem, 0.817rem + 0.31vw, 1.125rem); font-weight: normal; color: var(--color-text-light); text-align: justify; text-align: center; margin-bottom: clamp(2.813rem, 2.308rem + 2.69vw, 5rem);}

.cont-text-section { margin-bottom: clamp(2.813rem, 2.308rem + 2.69vw, 5rem); }
  
/* グレーの線をベースの1本線とし、擬似要素を「上から完全に同じ位置に重ねる」仕様 */
.cont-text-section h3 { position: relative; font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent3); border-bottom: 2px solid var(--color-border); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold;}
  
/* グレーの線に完全に乗っかる、文字幅連動のオレンジ線 */
.cont-text-section h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: var(--title-underline-width, 0px); height: 2px; background-color: var(--color-accent3);}
  
/* 文字幅計測用のラッパー要素 */
.cont-text-section h3 span { display: inline-block;}

.cont-text-section p { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); margin-bottom: 12px; color: var(--color-text-light); line-height: 1.6;}

.cont-text-section p strong { font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent);}

.cont-text-section .caution { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); margin-bottom: 12px; color: var(--color-caution);}

.cont-text-ol { list-style-type: decimal; padding-left: 20px;}
.cont-text-ol li { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light); margin-bottom: 12px; text-align: justify;}
.cont-text-ul { list-style: none;}
.cont-text-ul li { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light); margin-bottom: 8px; text-indent: -1.5em; padding-left: 1.5em;}


/* =========================================
   【追加】アラートセクション専用アコーディオン装飾
========================================= */
.contact-section.alert-sec h3 { color: var(--color-caution); border-bottom-color: var(--color-border); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: opacity 0.3s; }
.contact-section.alert-sec h3:hover { opacity: 0.7; }
.contact-section.alert-sec h3::after { background-color: var(--color-caution); }
.alert-toggle-icon { color: #000000; font-size: clamp(1.25rem, 1.135rem + 0.62vw, 1.75rem); }
.alert-content-wrapper { display: none; margin-top: 20px; padding-bottom: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem); }

/* 【修正】他社通信サービスアラート（テキストの高さにアイコンを可変追従） */
.alert-box { display: flex; align-items: stretch; background-color: #fffafb; border: 1px solid #ffeded; padding: 30px; border-radius: 8px; gap: 30px; }
.alert-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.alert-icon img { height: 70px; width: auto; object-fit: contain; }
.alert-text { flex: 1; display: flex; align-items: center; }
.alert-text p { color: var(--color-caution); font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); line-height: 1.6; margin: 0; text-align: justify; }
.alert-text a { text-decoration: underline; }

/* =========================================
   案内ページ専用コンテンツ要素
========================================= */
.contact-section {　margin-top: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem); word-break:  break-all; }
.contact-section2 { border-radius: 8px; }
.text-center { text-align: center; }
.contact-top-desc { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light); text-align: center; margin-bottom: 30px; }
.contact-top-desc1 { font-size: clamp(0.938rem, 0.865rem + 0.38vw, 1.25rem); font-weight: bold; color: var(--color-hover-blue); margin-bottom: 12px; text-align: center; }
.contact-top-desc2 { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-text-light); text-align: center; margin-bottom: clamp(1.25rem, 1.178rem + 0.38vw, 1.563rem);  line-height: 1.6; }
.contact-top-desc3 { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-caution); text-align: center; margin-bottom: clamp(1.25rem, 1.178rem + 0.38vw, 1.563rem); line-height: 1.6; }
.contact-top-desc4 { font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); color: var(--color-caution); text-align: center; margin-bottom: clamp(0.375rem, 0.317rem + 0.31vw, 0.625rem); line-height: 1.6; font-weight: bold; }
.contact-top-desc5 { width: 90%; margin: 0 auto clamp(1.25rem, 1.178rem + 0.38vw, 1.563rem); font-size: clamp(0.75rem, 0.721rem + 0.15vw, 0.875rem); color: var(--color-text-light); text-align: center; line-height: 1.6; }
.contact-top-icon { width: 90px; height: auto; margin: 0 auto 15px; display: block; }

/* 検索フォーム */
.search-box { display: flex; max-width: 730px; margin: 0 auto; box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08); border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border); background-color: var(--color-white); }
.search-box input[type="text"] { flex: 1; border: none; padding: 15px clamp(0.625rem, 0.481rem + 0.77vw, 1.25rem); font-size: clamp(0.875rem, 0.788rem + 0.46vw, 1.25rem); outline: none; }
.search-box input[type="text"]::placeholder { color: var(--color-text-light2); }
.search-box button { background-color: var(--color-accent3); color: var(--color-white); border: none; padding: 0 clamp(0.625rem, 0.192rem + 2.31vw, 2.5rem); font-size: clamp(0.875rem, 0.788rem + 0.46vw, 1.25rem); font-weight: bold; cursor: pointer; transition: background-color 0.3s; white-space: nowrap; }
.search-box button:hover { background-color: var(--color-hover-blue); }

/* IMEI検索フォーム */
.imei-search-box { display: flex; width: 90%; max-width: 730px; margin: 0 auto; box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08); border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border); background-color: var(--color-white); }
.imei-search-box input[type="text"] { flex: 1; border: none; padding: 15px clamp(0.625rem, 0.481rem + 0.77vw, 1.25rem); font-size: clamp(0.875rem, 0.788rem + 0.46vw, 1.25rem); outline: none; }
.imei-search-box input[type="text"]::placeholder { color: var(--color-text-light2); }
.imei-search-box button { background-color: var(--color-accent3); color: var(--color-white); border: none; padding: 0 clamp(0.625rem, 0.192rem + 2.31vw, 2.5rem); font-size: clamp(0.875rem, 0.788rem + 0.46vw, 1.25rem); font-weight: bold; cursor: pointer; transition: background-color 0.3s; white-space: nowrap; }
.imei-search-box button:hover { background-color: var(--color-hover-blue); }

/* 見出しのアンダーラインギミック */
.contact-section h3 { position: relative; font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent3); border-bottom: 2px solid var(--color-border); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold;}
.contact-section h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: var(--title-underline-width, 0px); height: 2px; background-color: var(--color-accent3);}
.contact-section h3 span { display: inline-block;}
.contact-section2 h3 { position: relative; font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent3); border-bottom: 2px solid var(--color-border); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold;}
.contact-section2 h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: var(--title-underline-width, 0px); height: 2px; background-color: var(--color-accent3);}
.contact-section2 h3 span { display: inline-block;}

/* FAQ リンクカード用コンテナ */
.faq-card-container { display: grid; gap: 20px; margin-top: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); }
.link-card { display: flex; justify-content: space-between; align-items: center; padding: clamp(0.938rem, 0.865rem + 0.38vw, 1.25rem) clamp(1.25rem, 1.106rem + 0.77vw, 1.875rem); background-color: var(--color-white); border: 1px solid var(--color-border); border-radius: 8px; text-decoration: none; color: var(--color-primary); font-size: clamp(1rem, 0.971rem + 0.15vw, 1.125rem); font-weight: bold; transition: all 0.3s ease; box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.06);}
.link-card i { color: var(--color-hover-blue); font-size: clamp(1rem, 0.971rem + 0.15vw, 1.125rem); transition: color 0.3s ease, transform 0.3s ease;}
.link-card:hover { background-color: var(--color-hover-blue); color: var(--color-white); border-color: transparent; box-shadow: 0 6px 15px rgba(23, 135, 216, 0.25);}
.link-card:hover i { color: var(--color-white); transform: translateX(6px);}



/* =========================================
   レスポンシブ・メディアクエリ調整
========================================= */

@media (min-width: 1480px) {
.faq-card-container { grid-template-columns: repeat(3, 1fr); }
}
    
@media (max-width: 1479px) and (min-width: 1100px) {
.faq-card-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1099px) {
.content-body { width: 100%;}
.faq-card-container { grid-template-columns: 1fr; width: 100%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
.content-body { margin: 0 auto;}
.content-body h2 { margin-bottom: 35px;}
.content-body h4 { text-align: left;}
.contact-top-desc { text-align: left; }
.contact-top-desc2 { width: 90%; text-align: left; margin-left: auto; margin-right: auto; margin-bottom: 12px; }
.contact-top-desc3 { width: 90%; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 12px; }
.contact-top-desc4 { width: 90%; margin-left: auto; margin-right: auto; }
.contact-top-desc5 { text-align: left; }
.faq-card-container { gap: 10px; }
.link-card-container { gap: 10px; }

/* 【修正】他社通信アラート：スマホ表示時は縦並びに切り替え */
.alert-box { flex-direction: column; align-items: center; padding: 20px; gap: 15px; }
.alert-icon { width: 50px; height: auto; }
.alert-icon img { height: auto; width: 100%; }
}
/* =========================================
   FAQ 吹き出し風カードのデザイン
========================================= */
.faq-bubble-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: clamp(1.563rem, 1.406rem + 0.78vw, 2.188rem) 0;
	border-radius: 10px;
}
.faq-bubble-container2 {
	background-color: #f1f9ff; padding: clamp(1.563rem, 1.406rem + 0.78vw, 2.188rem) clamp(1.25rem, 1.106rem + 0.77vw, 1.875rem);
	border-radius: 10px;
}

.faq-bubble-card {
	background-color: var(--color-white);
	border: 1px solid #EFEFEF; /* 画像に合わせた薄い水色 */
	border-radius: 8px;
	padding: 25px 25px 30px;
	position: relative; margin-bottom: 12px;
	box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.06); background-color: #FFF;
}

/* 吹き出しのしっぽ部分（白背景） */
.faq-bubble-card::after {
	content: '';
	position: absolute;
	bottom: -16px;
	right: 44px; /* 画像通り右側にしっぽを配置 */
	border-top: 17px solid var(--color-white);
	border-left: 17px solid transparent;
	border-right: 0px solid transparent;
	z-index: 2;
}

/* 吹き出しのしっぽ部分（枠線用） */
.faq-bubble-card::before {
	content: '';
	position: absolute;
	bottom: -20px;
	right: 42px;
	border-top: 21px solid #EFEFEF;
	border-left: 21px solid transparent;
	border-right: 0px solid transparent;
	z-index: 1;
}

.faq-q, .faq-a {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.faq-q {
	margin-bottom: clamp(0.375rem, 0.317rem + 0.31vw, 0.625rem);
}

.faq-icon-q {
	color: #20b1e0; /* Qの水色 */
	font-size: clamp(1.5rem, 1.344rem + 0.78vw, 2.125rem);
	font-weight: bold;
	line-height: 1;
	margin-bottom: 10px;
}

.faq-icon-a {
	color: #ff703d; /* Aのオレンジ */
	font-size: clamp(1.5rem, 1.344rem + 0.78vw, 2.125rem);
	font-weight: bold;
	line-height: 1;
}

.faq-text-q {
	font-weight: bold;
	font-size: clamp(1rem, 0.971rem + 0.15vw, 1.125rem);
	color: #20b1e0; /* Qの水色 */
	line-height: 1.5;
}

.faq-text-a {

	font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem);
	color: black;
	line-height: 1.46;
}

/* 768px以下（タブレット・スマホ）は1列配置 */
@media (max-width: 768px) {
	.faq-bubble-container {
		grid-template-columns: 1fr;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}

/* =========================================
   【追加】アラートセクション専用アコーディオン装飾
========================================= */
.contact-section4.alert-sec h3 { color: var(--color-caution); border-bottom-color: var(--color-border); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: opacity 0.3s; }
.contact-section4.alert-sec h3:hover { opacity: 0.7; }
.contact-section4.alert-sec h3::after { background-color: var(--color-caution); }
.alert-toggle-icon { color: #000000; font-size: clamp(1.25rem, 1.135rem + 0.62vw, 1.75rem); }
.alert-content-wrapper { display: none; margin-top: 20px; }
.contact-section4 { word-break:  break-all; }
.contact-section4 h3 { position: relative; font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent3); border-bottom: 2px solid var(--color-border); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold;}
.contact-section4 h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: var(--title-underline-width, 0px); height: 2px; background-color: var(--color-accent3);}
.contact-section4 h3 span { display: inline-block;}
.contact-section5 { word-break:  break-all; }

/* 【修正】他社通信サービスアラート（テキストの高さにアイコンを可変追従） */
.alert-box { display: flex; align-items: stretch; background-color: #fffafb; border: 1px solid #ffeded; padding: 30px; border-radius: 8px; gap: 30px; }
.alert-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.alert-icon img { height: 70px; width: auto; object-fit: contain; }
.alert-text { flex: 1; display: flex; align-items: center; }
.alert-text p { color: var(--color-caution); font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem); line-height: 1.6; margin: 0; text-align: justify; }
.alert-text a { text-decoration: underline; }

/* 見出しのアンダーラインギミック */
.contact-section4 h3 { position: relative; font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem); color: var(--color-accent3); border-bottom: 2px solid var(--color-border); padding-bottom: 8px; margin-bottom: 20px; font-weight: bold;}
.contact-section4 h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: var(--title-underline-width, 0px); height: 2px; background-color: var(--color-accent3);}
.contact-section4 h3 span { display: inline-block;}

/* =========================================
   【デザイン調整版】Anker風スムーズアコーディオン (V2)
========================================= */
.faq-details-v2 {
  display: block;
  width: 100%;
 border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  /* 角丸から中身がはみ出さないようにクリップ */
  overflow: hidden; 
  /* 閉じている時のヘッダーと同じ背景色にして一体化させる */
  background: linear-gradient(165deg, #2194df, #0064c7, #003bbe);
  border: none;
  transition: background-color 0.3s ease;
}

/* サマリー（ヘッダー部分） */
.faq-summary-v2 {
  display: block;
  list-style: none; /* Safari用 */
  cursor: pointer;
  /* 画像に合わせたゆったりとした余白 */
  padding: 24px 30px; 
  outline: none;
  background: linear-gradient(165deg, #0064c7, #20a0d0);
}

.faq-summary-v2::-webkit-details-marker {
  display: none; /* iOS/Safariのデフォルト矢印を消去 */
}

.faq-summary-inner-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* 質問タイトル領域 */
.faq-summary-question-v2 {
  flex: 1;
  display: flex;
  align-items: center;
}

.faq-summary-text-v2 {
  font-size: clamp(1rem, 0.942rem + 0.31vw, 1.25rem);
  font-weight: bold;
  /* 画像のオレンジ色を再現 */
  color: #FFF; 
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

/* 右側トグルアイコン (プラス/マイナス) */
.faq-summary-toggle-v2 {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 15px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* プラス・マイナスのライン（線の色もテキストのオレンジに統一） */
.faq-summary-toggle-v2::before,
.faq-summary-toggle-v2::after {
  content: "";
  position: absolute;
  background-color: #FFF;
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 50%;
  left: 50%;
}

/* 横線 */
.faq-summary-toggle-v2::before {
  width: 18px;
  height: 2px;
  margin-top: -1px;
  margin-left: -9px;
}

/* 縦線 */
.faq-summary-toggle-v2::after {
  width: 2px;
  height: 18px;
  margin-top: -9px;
  margin-left: -1px;
}

/* detailsが開いた時のトグルアイコンアニメーション */
.faq-details-v2[open] .faq-summary-toggle-v2 {
  /* 縦線が消えて、横線（マイナス）だけが残る滑らかなモーション */
  transform: rotate(180deg); 
}

.faq-details-v2[open] .faq-summary-toggle-v2::after {
  /* 縦線を透明にしてマイナスにする */
  opacity: 0; 
}

/* コンテンツ開閉エリア */
.faq-content-v2 {
  height: 0;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* 開いた状態のコンテンツ背景は白 */
  background-color: #ffffff; 
}

.faq-details-v2[open] .faq-content-v2 {
  height: auto; /* JS非活性時のフォールバック */
}

/* コンテンツ内側の余白 */
.faq-content-inner-v2 {
  padding: 30px;
  background-color: #ffffff;
}

.faq-content-inner-v2 p {
  color: var(--color-text-main); /* 本文テキストは読みやすい黒/ダークグレー */
  font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* モバイル（スマートフォン）表示時の微調整（767px以下） */
@media (max-width: 767px) {
  .faq-details-v2 {
    border-radius: 16px; /* スマホ画面では角丸を少し小さくしてバランス良く */
  }
  .faq-summary-v2 {
    padding: 18px 20px;
  }
  .faq-content-inner-v2 {
    padding: 20px;
  }
}


/* =========================================
   【新規追加】一般FAQ用 Anker風アコーディオン (V3)
========================================= */
.faq-details-v3 {
  display: block;
  width: 100%;
  border-radius: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden; 
  background-color: #f1f9ff; /* 閉じている時は爽やかな薄いブルー */
  border: none;
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.04);
  transition: background-color 0.3s ease;
}

/* サマリー（ヘッダー部分） */
.faq-summary-v3 {
  display: block;
  list-style: none; /* Safari用 */
  cursor: pointer;
  padding: 24px 30px; 
  outline: none;
  background-color: #f1f9ff;
}

.faq-summary-v3::-webkit-details-marker {
  display: none; /* iOS/Safariのデフォルト矢印を消去 */
}

.faq-summary-inner-v3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* 質問タイトル領域 */
.faq-summary-question-v3 {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 「Q.」のアイコン */
.faq-icon-q-v3 {
  color: #008cd6; /* Qの水色 */
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.8rem);
  font-weight: bold;
  line-height: 1;
}

.faq-summary-text-v3 {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
  font-weight: bold;
  color: #008cd6; /* メインテーマの濃紺 */
  line-height: 1.4;
}

/* 右側トグルアイコン (プラス/マイナス) */
.faq-summary-toggle-v3 {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 15px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* プラス・マイナスのライン（線の色はQと同じ水色） */
.faq-summary-toggle-v3::before,
.faq-summary-toggle-v3::after {
  content: "";
  position: absolute;
  background-color: #008cd6;
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 50%;
  left: 50%;
}

/* 横線 */
.faq-summary-toggle-v3::before {
  width: 18px;
  height: 2px;
  margin-top: -1px;
  margin-left: -9px;
}

/* 縦線 */
.faq-summary-toggle-v3::after {
  width: 2px;
  height: 18px;
  margin-top: -9px;
  margin-left: -1px;
}

/* detailsが開いた時のトグルアイコンアニメーション */
.faq-details-v3[open] .faq-summary-toggle-v3 {
  transform: rotate(180deg); 
}

.faq-details-v3[open] .faq-summary-toggle-v3::after {
  opacity: 0; /* 縦線を透明にしてマイナスに */
}

/* コンテンツ開閉エリア */
.faq-content-v3 {
  height: 0;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffffff; /* 開いた時は白背景 */
}

.faq-details-v3[open] .faq-content-v3 {
  height: auto; /* JS非活性時のフォールバック */
}

/* コンテンツ内側の余白 */
.faq-content-inner-v3 {
  padding: 30px;
  background-color: #ffffff;
}

/* 回答（A）エリアのレイアウト */
.faq-a-v3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.faq-icon-a-v3 {
  color: #ff703d; /* Aのオレンジ */
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.8rem);
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

.faq-text-a-v3 {
  color: var(--color-text-main);
  font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

.faq-text-a-v3 a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: bold;
}
.faq-text-a-v3 a:hover {
  color: var(--color-hover-blue);
}

/* モバイル（スマートフォン）表示時の微調整（767px以下） */
@media (max-width: 767px) {
  .faq-details-v3 {
    border-radius: 16px;
  }
  .faq-summary-v3 {
    padding: 18px 20px;
  }
  .faq-content-inner-v3 {
    padding: 20px;
  }
}

/* =========================================
   【縦伸び防止】2列並び時のレイアウト調整
========================================= */

/* すでに定義されている.faq-bubble-containerに対して、
   子要素（V3アコーディオン）が縦に引っ張られないよう上揃え(start)に指定 */
.faq-bubble-container {
  align-items: start; /* これにより片方が開いても、隣は引っ張られずに元の高さを維持します */
}

/* 万が一、他の箇所のグリッドコンテナにV3を配置する場合に備えた、
   V3専用の安全上揃え定義 */
.faq-details-v3 {
  align-self: start; /* 自分自身を上揃えに強制し、親のstretch指定を無効化します */
}

/* アラート用（V2）も念のため同様に上揃えを強制 */
.faq-details-v2 {
  align-self: start;
}
@media (max-width: 767px) {
/* 【修正】他社通信アラート：スマホ表示時は縦並びに切り替え */
.alert-box { flex-direction: column; align-items: center; padding: 20px; gap: 15px; }
.alert-icon { width: 50px; height: auto; }
.alert-icon img { height: auto; width: 100%; }
}
/* =========================================
   【新規追加】プラン紹介カードエリア
========================================= */

/* グリッドコンテナ：PC時は2列、768px以下で1列 */
.plan-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(1rem, 0.942rem + 0.31vw, 1.25rem);
}

/* 各カードの枠（1px枠線と角丸・薄い影を実装） */
.plan-card-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* カード上部の画像コンテナ */
.plan-card-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* 画像比率を保つ */
  overflow: hidden;
  border-bottom: 1px solid var(--color-border2);
  background-color: #f9f9f9;
}

.plan-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* カードテキスト部分のコンテナ */
.plan-card-body {
  padding: clamp(1rem, 0.9rem + 1vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* カテゴリタグエリア */
.plan-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-card-tag {
  font-size: clamp(0.7rem, 0.65rem + 0.15vw, 0.8rem);
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
}

/* タグカラー（オレンジ / 青 / 緑 など適宜バリエーション可能） */
.tag-orange {
  background-color: #008cd6;
  color: #ffffff;
}
.tag-blue {
  background-color: #1f286f;
  color: #ffffff;
}
.tag-green {
  background-color: #379300;
  color: #ffffff;
}
.tag-gray {
  background-color: #daa208;
  color: #ffffff;
}
/* キャッチコピー */
.plan-card-catch {
  font-size: clamp(0.8rem, 0.75rem + 0.15vw, 0.9rem);
  color: var(--color-text-light);
  line-height: 1.4;
    margin-top: 10px;
  margin-bottom: 2px;
    
}

/* プラン名（見出し） */
.plan-card-title {
    text-align: left !important;  /* 左寄せ（他からの強制上書きを防ぐため !important を推奨） */
    margin-bottom: 10px !important;
}

.plan-card-title a {
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
  font-weight: bold;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-card-title a:hover {
  color: var(--color-hover-blue);
  text-decoration: underline;
}

.plan-card-title i {
  font-size: 0.8em;
}

/* プラン名（見出し） */
.plan-card-title2 {
    text-align: left !important;  /* 左寄せ（他からの強制上書きを防ぐため !important を推奨） */
    margin-bottom: 10px !important;
}

.plan-card-title2 a {
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
  font-weight: bold;
  color: #379300;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-card-title2 a:hover {
  color: #379300;
  text-decoration: underline;
}

.plan-card-title2 i {
  font-size: 0.8em;
}

/* プラン名（見出し） */
.plan-card-title3 {
    text-align: left !important;  /* 左寄せ（他からの強制上書きを防ぐため !important を推奨） */
    margin-bottom: 10px !important;
}

.plan-card-title3 a {
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
  font-weight: bold;
  color: #daa208;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-card-title3 a:hover {
  color: #bc8e10;
  text-decoration: underline;
}

.plan-card-title3 i {
  font-size: 0.8em;
}

/* 詳細説明文 */
.plan-card-desc {
  margin-top: 0 !important;
  font-size: clamp(0.85rem, 0.8rem + 0.15vw, 0.95rem);
  color: var(--color-text-main);
  line-height: 1.6; padding: clamp(0.625rem, 0.489rem + 0.68vw, 1rem); background-color: #f8f8f8;
}

/* =========================================
   レスポンシブ（768px以下は1列に変更）
========================================= */
@media (max-width: 768px) {
  .plan-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* =========================================
   【共通定義】追加料金表ラッパー（横スクロール・ScrollHint対応）
========================================= */
/* custom2 〜 custom6 の外枠ラッパーに共通する基本・バグ修正スタイルを一括統合 */
.custom2-table-wrapper,
.custom3-table-wrapper,
.custom4-table-wrapper,
.custom5-table-wrapper,
.custom6-table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden !important; /* レスポンシブ時の縦スクロールを強制防止 */
  -webkit-overflow-scrolling: touch;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  position: relative; /* ScrollHintの基準位置 */
}

/* =========================================
   【共通定義】料金テーブル基本スタイル
========================================= */
.custom2-plan-table,
.custom3-plan-table,
.custom4-plan-table,
.custom5-plan-table,
.custom6-plan-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.custom2-plan-table th, .custom2-plan-table td,
.custom3-plan-table th, .custom3-plan-table td,
.custom4-plan-table th, .custom4-plan-table td,
.custom5-plan-table th, .custom5-plan-table td,
.custom6-plan-table th, .custom6-plan-table td {
  vertical-align: middle;
  border-right: 1px solid #e0e0e0;
  color: #333333;
}

.custom2-plan-table th:last-child, .custom2-plan-table td:last-child,
.custom3-plan-table th:last-child, .custom3-plan-table td:last-child,
.custom4-plan-table th:last-child, .custom4-plan-table td:last-child,
.custom5-plan-table th:last-child, .custom5-plan-table td:last-child,
.custom6-plan-table th:last-child, .custom6-plan-table td:last-child {
  border-right: none;
}

/* =========================================
   各プラン固有のスタイル指定
========================================= */

/* --- custom2: 海外プラン料金表 --- */
.custom2-plan-table { min-width: 750px; }
.custom2-plan-table thead tr { background-color: #1787d8; }
.custom2-plan-table th { color: #ffffff; font-weight: bold; font-size: 16px; padding: 20px 15px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.3); }
.custom2-plan-table th:first-child { width: 35%; }
.custom2-plan-table th:not(:first-child) { width: 21.6%; }
.custom2-plan-table tbody tr { border-bottom: 1px solid #e0e0e0; }
.custom2-plan-table tbody tr:last-child { border-bottom: none; }
.custom2-plan-table td { padding: 22px 20px; }
.custom2-area-cell { text-align: left; font-size: 14px; }
.custom2-price-cell { text-align: center; font-size: 18px; font-weight: bold; color: #444444; }

/* --- custom3: 海外大容量プラン料金表 --- */
.custom3-plan-table { min-width: 1100px; }
.custom3-plan-table thead tr { background-color: #1787d8; }
.custom3-plan-table th { color: #ffffff; font-weight: bold; font-size: 15px; padding: 18px 10px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.3); }
.custom3-plan-table th:first-child { width: 20%; }
.custom3-plan-table th:not(:first-child) { width: 8%; }
.custom3-plan-table tbody tr { border-bottom: 1px solid #e0e0e0; }
.custom3-plan-table tbody tr:last-child { border-bottom: none; }
.custom3-plan-table td { padding: 15px 10px; line-height: 1.4; }
.custom3-area-cell { text-align: center; font-size: 14px; background-color: #d2eaf3; font-weight: 500; }
.custom3-price-cell { text-align: center; font-size: 15px; font-weight: normal; }

/* --- custom4: データチャージ料金表 --- */
.custom4-plan-table { min-width: 600px; }
.custom4-plan-table thead tr { background-color: #1787d8; }
.custom4-plan-table th { color: #ffffff; font-weight: bold; font-size: 16px; padding: 18px 15px; text-align: center; }
.custom4-plan-table tbody tr { border-bottom: 1px solid #e0e0e0; }
.custom4-plan-table tbody tr:last-child { border-bottom: none; }
.custom4-plan-table td { padding: 20px 15px; }
.custom4-area-cell { width: 50%; text-align: left; font-size: 14px; background-color: #d2eaf3; padding-left: 20px; }
.custom4-price-cell { width: 50%; text-align: center; font-size: 16px; }

/* --- custom5: データ定額プラン料金表 --- */
.custom5-plan-table { min-width: 650px; }
.custom5-plan-table thead tr { background-color: #f0faff; }
.custom5-plan-table th { color: #0064c7; font-weight: bold; font-size: 16px; padding: 18px 10px; text-align: center; border-right: 1px solid #e0e0e0; width: 16.66%; }
.custom5-plan-table th.custom5-highlight-th { background-color: #cde6f2; }
.custom5-plan-table td { padding: 22px 10px; text-align: center; font-size: 16px; }

/* --- custom6: 従量課金プラン料金表 --- */
.custom6-plan-table { min-width: 900px; }
.custom6-plan-table thead tr { background-color: #f0faff; }
.custom6-plan-table th { color: #0064c7; font-weight: bold; font-size: 15px; padding: 18px 8px; text-align: center; border-right: 1px solid #e0e0e0; width: 11.11%; }
.custom6-plan-table th.custom6-highlight-th { background-color: #cde6f2; }
.custom6-plan-table td { padding: 22px 8px; text-align: center; font-size: 16px; }
.custom6-free-cell { color: #ff0000 !important; font-weight: bold; }

/* =========================================
   【変更】custom7: 比較表スタイル (custom3の色合いを踏襲)
========================================= */
.custom7-table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden !important; 
  -webkit-overflow-scrolling: touch;
  margin: 15px 0 25px;
  border: 1px solid #e0e0e0;
  border-radius: 4px; /* 角丸を追加 */
  background-color: #ffffff;
  position: relative; /* ScrollHintの基準位置 */
}

.custom7-plan-table {
  width: 100%;
  min-width: 650px; 
  border-collapse: collapse;
  background-color: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 共通の縦罫線 */
.custom7-plan-table th, 
.custom7-plan-table td {
  vertical-align: middle;
  border-right: 1px solid #e0e0e0; 
  color: #333333;
}
.custom7-plan-table th:last-child, 
.custom7-plan-table td:last-child {
  border-right: none; /* 一番右の罫線は消す */
}

/* --- ヘッダー（青背景・白文字） --- */
.custom7-plan-table thead tr {
  background-color: #1787d8;
}
.custom7-plan-table th {
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  padding: 18px 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3); /* ヘッダー用の半透明な縦罫線 */
}
.custom7-plan-table th:first-child {
  width: 20%; /* 左端カラムの幅 */
}

/* --- ボディ（横罫線） --- */
.custom7-plan-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}
.custom7-plan-table tbody tr:last-child {
  border-bottom: none;
}

/* --- 左端の項目セル（薄い水色背景） --- */
.custom7-head-cell {
  text-align: center;
  font-size: 14px;
  background-color: #d2eaf3;
  font-weight: 500;
  padding: 16px 10px;
}

/* --- 記号データセル（◎、〇など） --- */
.custom7-data-cell {
  text-align: center;
  font-size: 18px; 
  padding: 16px 10px;
}

/* --- レスポンシブ・スクロール解除用 --- */
@media (min-width: 768px) {
  .custom7-plan-table {
    min-width: 100%;
  }
}
@media (min-width: 1100px) {
  .custom7-table-wrapper {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
  }
  .custom7-plan-table {
    min-width: 100% !important;
    width: 100% !important;
  }
}

/* =========================================
   【新規追加】比較エリア ヘッダー・余白調整
========================================= */
.gw-compare-header {
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);       /* 上部アイコンエリアとの間の十分な余白 */

  text-align: center;
}

/* 見出し */
.gw-compare-title {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem) !important;
  color: #103b75 !important; /* メインの濃紺カラー */
  font-weight: bold !important;
  margin-top: 0 !important;
  margin-bottom: clamp(1.25rem, 1rem + 0.8vw, 1.5rem) !important; /* 見出しと説明文の間の余白 */
  line-height: 1.3 !important;
  text-align: center !important;
}

/* リード文（説明テキスト） */
.gw-compare-desc {
  font-size: clamp(0.875rem, 0.846rem + 0.15vw, 1rem);
  color: #333333;
  line-height: 1.8; /* ゆったりとした読みやすい行間 */
  margin: 0 auto;
  text-align: center;
}

/* スマホ表示時の余白調整 */
@media (max-width: 767px) {
  .gw-compare-header {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

/* =========================================
   レスポンシブ・各種デバイス環境向けの個別リセット
========================================= */

/* 各テーブル独自の横フイット用メディアクエリを一つに集約 */
@media (min-width: 768px) {
  .custom4-plan-table,
  .custom5-plan-table {
    min-width: 100%;
  }
}
@media (min-width: 800px) {
  .custom2-plan-table {
    min-width: 100%;
  }
}
@media (min-width: 950px) {
  .custom6-plan-table {
    min-width: 100%;
  }
}

/* PC表示（1100px以上）時のスクロールバー強制解除リセット */
@media (min-width: 1100px) {
  .custom2-table-wrapper,
  .custom3-table-wrapper,
  .custom4-table-wrapper,
  .custom5-table-wrapper,
  .custom6-table-wrapper {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
  }

  .custom2-plan-table,
  .custom3-plan-table,
  .custom4-plan-table,
  .custom5-plan-table,
  .custom6-plan-table {
    min-width: 100% !important;
    width: 100% !important;
  }
}

/* =========================================
   【新規追加】選ばれる理由エリア（競合防止 gc- プレフィックス付与）
========================================= */

/* コンテナ全体の背景と余白 */
.gc-reason-container {
  padding: 40px 0 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* タイトル部分 */
.gc-reason-title {
    width: 88%; margin-left: auto; margin-right: auto;
  text-align: center !important;
  font-size: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem) !important;
  color: #333 !important;
  font-weight: bold !important;
  line-height: 1.4 !important;
  margin-bottom: 60px !important;
}
.gc-reason-title2 {
    width: 88%; margin-left: auto; margin-right: auto;
  text-align: center !important;
  font-size: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem) !important;
  color: #333 !important;
  font-weight: bold !important;
  line-height: 1.4 !important;
    margin-top: clamp(3.75rem, 3.295rem + 2.27vw, 5rem);
  margin-bottom: 30px !important;
}
.gc-reason-title3 {
    width: 88%;
  text-align: center !important;
  font-size: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem) !important;
  color: #333 !important;
  font-weight: bold !important;
  line-height: 1.4 !important;
  margin: clamp(0.625rem, 0.511rem + 0.57vw, 0.938rem) auto clamp(1.75rem, 1.705rem + 0.23vw, 1.875rem);
}
/* グラデーションテキスト (紫〜ピンク系) */
.gc-text-gradient {
  background: linear-gradient(135deg, #d34b27, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.gc-text-gradient2 {
  background: linear-gradient(135deg, #1d90cd, #73ceff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
/* 欧文用フォント（Barlow風のスタイリッシュなサンセリフをエミュレート） */
.gc-font-barlow {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* リスト全体のラッパー */
.gc-reason-list-wrapper {
  width: 92%;
  margin: 0 auto;
}

/* 3列並びのベース設定 (Flexbox) */
.gc-reason-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 各カードのスタイル */
.gc-reason-item {
  flex: 1;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 20px 25px 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  box-sizing: border-box;
}

/* ナンバリング (01, 02, 03) の絶対配置 */
.gc-reason-number {
  position: absolute;
  top: -20px;
  left: 10px;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  
  /* --- 切れ対策の追記 --- */
  display: inline-block;
  padding-right: 0.15em; /* 斜体で右にはみ出る分をカバーする余白 */
  white-space: nowrap;   /* 改行を防いで横幅を確保 */
}

/* カード内のテキスト仕様 */
.gc-reason-text {
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem) !important;
  color: #333333 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  font-weight: normal;
}

/* ピンクの強調テキスト */
.gc-highlight-pink {
  color: #f07700;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  display: inline-block;
  margin-top: 8px; font-weight: bold;
}

/* 改行コントロール用デフォルト */
.gc-pc-only { display: block; }
.gc-sp-only { display: none; }

/* =========================================
   レスポンシブ・メディアクエリ (タブレット・スマホ対応)
========================================= */
@media (max-width: 992px) {
  /* 992px以下で縦並びに変更 */
  .gc-reason-list {
    flex-direction: column;
    gap: 45px; /* カードが縦に並ぶ際の間隔（数字の飛び出し分を考慮） */
  }

  .gc-reason-item {
    width: 95%; margin: 0 auto;
    padding: 35px 20px 25px 20px;
  }
  
  .gc-reason-number {
    top: -22px;
    left: 50%;
    transform: translateX(-50%); /* スマホ時は数字を中央に配置 */
  }

  /* スマホ表示時の改行切り替え */
  .gc-pc-only { display: none; }
  .gc-sp-only { display: block; }
}

/* =========================================
   【新規追加】導入ステップ（gflow- プレフィックス付与）
========================================= */

/* ステップ全体コンテナ */
.gflow-step-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 各ステップカードのベース */
.gflow-step-item {
    width: 92%; margin: 0 auto;
  display: flex;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

/* STEPヘッダー（左側のリボン・ペナント形状帯） */
.gflow-step-header {
  width: 130px; margin-left: 10px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333333;
  position: relative;
  /* clip-path を用いて下部をV字に尖らせるペナント効果を再現 */
  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
  padding: 20px 10px 40px; /* 下に尖る余白を持たせる */
  box-sizing: border-box;
}

/* STEPのグラデーションカラー（元ネタ準拠、順に色が濃くなる仕様） */
.gflow-item-01 .gflow-step-header { background-color: #ffe2af; margin-bottom: 10px; }
.gflow-item-02 .gflow-step-header { background-color: #ffd5af; margin-bottom: 10px; }
.gflow-item-03 .gflow-step-header { background-color: #ffb27f; margin-bottom: 10px; }
.gflow-item-04 .gflow-step-header { background-color: #ff7854; margin-bottom: 10px; }

/* STEP英語文字 */
.gflow-step-label {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* STEP数字 */
.gflow-step-number {
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  margin-top: 5px;
}

/* 右側コンテンツ領域 */
.gflow-step-contents {
  flex: 1;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* タイトル見出し */
.gflow-step-headline {
  text-align: left !important;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem) !important;
  color: #f07700 !important;
  font-weight: bold !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.3 !important;
}

/* 本文テキスト */
.gflow-step-text {
  text-align: left !important;
  font-size: clamp(0.813rem, 0.767rem + 0.23vw, 0.938rem) !important;
  color: #333333 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}

/* 注釈（※付き上付き文字）の装飾 */
.gflow-step-text sup {
  font-size: 0.75em;
  color: #666666;
  vertical-align: super;
  margin-left: 2px;
}

/* =========================================
   レスポンシブ（スマートフォン・タブレット向け）
========================================= */
@media (max-width: 767px) {
  .gflow-step-container {
    gap: 16px;
  }

  /* スマホ時も破綻しないよう、左帯の比率を調整して横並びをキープ */
  .gflow-step-item {
    width: 88%; min-height: auto;
  }

  .gflow-step-header {
    width: 80px; /* スマホ用に横幅をスマートに */
    padding: 15px 5px 30px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 50% 100%, 0% 92%); /* 尖り角度をスマホ向けに補正 */
  }

  .gflow-step-label {
    font-size: 10px;
  }

  .gflow-step-number {
    font-size: 36px;
  }

  .gflow-step-contents {
    padding: 15px 15px 15px 12px;
  }

  .gflow-step-headline {
    margin-bottom: 8px !important;
  }
  
  .gflow-step-text {
    line-height: 1.6 !important;
  }
}

/* =========================================
   ScrollHint表示用の調整用サポ―トCSS
========================================= */
.scroll-hint-icon {
  z-index: 10;
}
.scroll-hint {
  border-radius: 4px;
  overflow: hidden;
}

/* =========================================
   【新規追加】端末一覧 ＆ モーダルスタイル
========================================= */

/* 1. 端末一覧グリッド */
.pcard-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 1400px) and (min-width: 768px) {
  .pcard-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pcard-container {
    grid-template-columns: 1fr;
  }
}

/* 2. 端末カード本体 */
.pcard-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #F3F3F3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 画像コンテナ領域 */
.pcard-img-wrap {
  background: linear-gradient(135deg, #daf5ff 0%, #ffffff 50%, #daf5ff 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* PCでの基準高さを最大340pxに設定 */
  height: clamp(200px, 30vw, 340px); 
  box-sizing: border-box;
  overflow: hidden;
}

.pcard-img-wrap2 {
  background: linear-gradient(135deg, #e2ffd1 0%, #ffffff 50%, #e2ffd1 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* PCでの基準高さを最大340pxに設定 */
  height: clamp(200px, 30vw, 340px); 
  box-sizing: border-box;
  overflow: hidden;
}

.pcard-img-wrap3 {
  background: linear-gradient(135deg, #f4efd8 0%, #ffffff 50%, #f4efd8 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* PCでの基準高さを最大340pxに設定 */
  height: clamp(200px, 30vw, 340px); 
  box-sizing: border-box;
  overflow: hidden;
}

/* 端末画像本体 */
.pcard-img {
  /* 縦横それぞれ最大340px・エリア枠を超えないように制御 */
  max-width: 340px;
  max-height: 100%;
  width: auto;
  height: auto;
  
  /* アスペクト比を維持しつつ中央配置 */
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.pcard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start; /* 上から順に詰めて配置 */
}

.pcard-catch {
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  color: #64748b;
  margin-top: 0;
  margin-bottom: 2px;
  line-height: 1.4;
}

/* タイトル部分（他の!importantによる上書きを確実に防ぐ） */
.pcard-body .pcard-title {
  font-size: clamp(1.5rem, 1.227rem + 1.36vw, 2.25rem) !important;
  font-weight: bold;
  color: #474747 !important;
  line-height: 1.1 !important;
  margin-top: 5px !important;
  margin-bottom: 12px !important; /* NA01のすぐ下（グレーのスペック表まで）の余白を制御 */
  text-align: left !important;
}

/* スペック概要（グレーのボックス） */
.pcard-spec-summary {
  display: flex;
  background-color: #f1f5f9;
  border-radius: 6px;
  padding: 10px 6px;
  margin-top: 0 !important;      /* 上の余白をリセット */
  margin-bottom: 20px !important; /* 下（対応プラン）との余白 */
  justify-content: space-around;
  text-align: center;
}

.pcard-spec-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.pcard-spec-box:not(:last-child) {
  border-right: 1px solid #cbd5e1;
}

.pcard-spec-label {
  font-size: 0.72rem;
  color: #475569;
  margin-bottom: 2px;
}

.pcard-spec-val {
  font-size: 1.05rem;
  font-weight: bold;
  color: #008cd6;
}

/* 対応プランバッジ */
.pcard-badge-group, .pcard-btn-group {
  margin-bottom: 14px;
}

.pcard-badge-header {
  display: inline-block;
  background-color: #1787d8;
  color: #ffffff;
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  font-weight: bold;
  padding: 8px 12px 6px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.pcard-badge-header2 {
  display: inline-block;
  background-color: #379300;
  color: #ffffff;
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  font-weight: bold;
  padding: 8px 12px 6px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.pcard-badge-header3 {
  display: inline-block;
  background-color: #daa208;
  color: #ffffff;
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  font-weight: bold;
  padding: 8px 12px 6px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.pcard-badge-header.doc-header {
  background-color: #0064c7;
}

.pcard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
    margin-bottom: 6px;
}

.pcard-badge {
  font-size: clamp(0.688rem, 0.665rem + 0.11vw, 0.75rem);
  padding: 4px 10px;
  border-radius: 4px;
  background-color: #ffffff;
  color: #e0e0e0;
  border: 1px solid #e0e0e0;
}

.pcard-badge.is-active {
  background-color: #ffffff;
  color: #676767;
  border-color: #676767;
  font-weight: bold;
}

/* アクションボタン群 */
.pcard-btns {
  display: flex;
  gap: 6px;
}

.pcard-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  font-size: clamp(0.688rem, 0.665rem + 0.11vw, 0.75rem);
  font-weight: bold;
  color: #676767;
  background-color: #ffffff;
  border: 1px solid #676767;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pcard-btn-activ {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  font-size: clamp(0.688rem, 0.665rem + 0.11vw, 0.75rem);
  font-weight: bold;
  color: #e0e0e0;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pcard-btn-none {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  font-size: clamp(0.688rem, 0.665rem + 0.11vw, 0.75rem);
  font-weight: bold;
  color: #e0e0e0;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pcard-btn:hover {
  background-color: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
}

/* =========================================
   3. モーダルウィンドウ & スペック表（修正版）
========================================= */
.pmodal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none; /* 初期状態は非表示 */
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.pmodal-overlay.is-active {
  display: flex; /* アクティブ時に表示 */
  opacity: 1;
  visibility: visible;
}

.pmodal-window {
  background-color: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 850px;
  max-height: 85vh;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  /* ボタンを外側に飛び出させるため overflow: visible に変更 */
  overflow: visible; 
}

/* 閉じるボタン（ダークグレーの円形＋白×印） */
.pmodal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  background-color: #383838; /* 画像通りのダークグレー */
  border: none;              /* 枠線は一切なし */
  border-radius: 50%;
  color: #ffffff;            /* ×印を白色に */
  font-size: 1.3rem;         /* ×印のサイズ感 */
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); /* 画像通りの柔らかい影 */
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.pmodal-close:hover {
  background-color: #222222; /* ホバー時は少し濃いグレーに */
  transform: scale(1.08);
}

.pmodal-scroll-area {
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden; /* 横スクロールを完全防止 */
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

/* スペック表 基本スタイル (PC 4列表示) */
.pmodal-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  table-layout: fixed; /* テーブル幅を固定し、文字溢れを防ぐ */
}

.pmodal-spec-table th,
.pmodal-spec-table td {
  border: 1px solid #cbd5e1; /* PC版の実線枠線 */
  padding: 10px 12px;
  vertical-align: middle;
  word-break: break-all; /* 長い英数字もみ出さずに改行 */
  overflow-wrap: break-word;
}

.pmodal-spec-table th {
  background-color: #F4F4F4; /* custom5/6と同等の薄いブルー */
  color: #424242;
  font-weight: bold;
  width: 20%;
  text-align: left;
}

.pmodal-spec-table td {
  background-color: #ffffff;
  color: #333333;
  width: 30%;
}

/* タブレット・スマホ表示時（767px以下）：PCデザインそのまま2列化 */
@media (max-width: 767px) {
  .pmodal-scroll-area {
    padding: 16px;
  }

  .pmodal-spec-table {
    display: block;
    width: 100%;
  }

  .pmodal-spec-table tbody {
    display: block;
    width: 100%;
  }

  .pmodal-spec-table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: -1px; /* 枠線の重複（太さ重複）を防止 */
  }

  .pmodal-spec-table th,
  .pmodal-spec-table td {
    display: block;
    box-sizing: border-box;
    border: 1px solid #DFDFDF; /* PCと同じ実線枠線を保持 */
    padding: 8px 10px;
    margin-right: -1px; /* 横並び時の枠線重複防止 */
    margin-bottom: -1px;
  }

  /* 2列（見出し＋値）でキレイに折り返し */
  .pmodal-spec-table th {
    width: 35%;
    background-color: #F4F4F4;
  }

  .pmodal-spec-table td {
    width: 65%;
    background-color: #ffffff;
  }
.pcard-img-wrap {
    height: 280px; /* スマホ画面でも縦向き端末がしっかり映える高さを確保 */
    padding: 15px;
  }
  .pcard-img-wrap2 {
    height: 280px; /* スマホ画面でも縦向き端末がしっかり映える高さを確保 */
    padding: 15px;
  }
  .pcard-img-wrap3 {
    height: 280px; /* スマホ画面でも縦向き端末がしっかり映える高さを確保 */
    padding: 15px;
  }

  .pcard-img {
    max-width: 280px;
  }
/* スマホ表示時（767px以下）のサイズ微調整 */
.pmodal-close {
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

.after_support img { width: 100%; margin: clamp(1.75rem, 1.614rem + 0.68vw, 2.125rem) auto 0;}

/* =========================================
   【新規追加】法人お問い合わせ先一覧エリア
========================================= */

/* 外側の配置調整（親要素のpaddingを相殺して画面幅に合わせる） */
.corp-inquiry-container {
  margin-top: clamp(2.375rem, 2.33rem + 0.23vw, 2.5rem);
  margin-bottom: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
  margin-left: calc(var(--fluid-padding) * -1);
  margin-right: calc(var(--fluid-padding) * -1);
  padding-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
  padding-left: var(--fluid-padding);
  padding-right: var(--fluid-padding);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* PC（1100px以上）表示時の余白調整 */
@media (min-width: 1100px) {
  .corp-inquiry-container {
    margin-left: -50px;
    margin-right: -50px;
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* 1つの大きな角丸ブロック（この中に全てを格納） */
.corp-inquiry-block {
  background-color: #ffffff;
  border-radius: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  overflow: hidden; /* 中身の背景が親の角丸からはみ出ないように制御 */
  box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.04);
}

/* -----------------------------------------
   上段：ヘッダーエリア（ブルー）
----------------------------------------- */
.corp-inquiry-header-box {
  background-color: #1c70c1;
  padding: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem) clamp(1rem, 0.75rem + 1.25vw, 2rem);
  text-align: center;
  color: #ffffff;
}
/* 法人様専用窓口 メインタイトル（優先度を強化） */
.corp-inquiry-header-box .corp-inquiry-main-title {
  font-size: clamp(1.5rem, 1.3rem + 1.5vw, 2.25rem) !important;
  font-weight: bold !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  border: none !important; /* 万が一アンダーラインなどの装飾が入っている場合をリセット */
}
.corp-inquiry-dotted-line {
  border: none;
  border-top: 3px dotted #ffffff;
  width: clamp(200px, 40vw, 400px);
  margin: 0 auto 15px;
  opacity: 0.8;
}
.corp-inquiry-sub-desc {
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------
   中段：決済方法エリア（ホワイト）
----------------------------------------- */
.corp-inquiry-payment-area {
  background-color: #ffffff;
  padding: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
}
.corp-inquiry-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.corp-inquiry-payment-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.corp-inquiry-card-head-blue {
  background-color: #1c70c1; /* 少し濃い青 */
  color: #ffffff;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  font-weight: bold;
  text-align: center;
  padding: 15px 10px;
}
.corp-inquiry-payment-body {
  background-color: #e2f5ff; /* 画像通りのほんのり青みがかったグレー */
  padding: 20px;
  font-size: clamp(0.813rem, 0.77rem + 0.22vw, 0.938rem);
  color: #333333;
  line-height: 1.6;
  flex-grow: 1;
}
.corp-inquiry-payment-body p { margin: 0 0 10px 0; }
.corp-inquiry-payment-body p:last-child { margin-bottom: 0; }
.corp-inquiry-address-box {
  margin-top: 15px;
  font-size: 0.8em;
}

/* -----------------------------------------
   下段：問い合わせ・代理店エリア（ライトブルー）
----------------------------------------- */
.corp-inquiry-contact-area {
  background-color: #eff9ff; /* 画像の薄い水色背景 */
  padding: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
}
.corp-inquiry-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
}
.corp-inquiry-contact-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.corp-inquiry-card-head-light {
  background-color: #34baff; /* 鮮やかな水色 */
  color: #ffffff;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: bold;
  text-align: center;
  padding: 15px 10px;
}
.corp-inquiry-contact-body {
  background-color: #ffffff; /* カードの中は白 */
  padding: 25px 20px;
  color: #333333;
  font-size: clamp(0.813rem, 0.77rem + 0.22vw, 0.938rem);
  line-height: 1.6;
  flex-grow: 1;
}
.corp-inquiry-contact-body p { margin: 0 0 10px 0; }
.corp-inquiry-contact-body p:last-child { margin-bottom: 0; }
.corp-inquiry-tel-number {
  font-size: clamp(1.75rem, 1.5rem + 2vw, 2.75rem);
  font-weight: bold;
  color: #1a73e8;
  text-align: center;
  margin: 15px 0 5px;
  letter-spacing: 0.05em;
}
.corp-inquiry-tel-hours {
  text-align: center;
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  color: #666666;
}

/* 代理店募集ブロック */
.corp-inquiry-agent-box {
  background-color: #ffffff; /* ベースを白に */
  border-radius: clamp(1rem, 0.8rem + 1vw, 1.5rem); /* 大きめの角丸 */
  overflow: hidden; /* 画像が角丸からはみ出ないようにカット */
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05); /* ほんのり影をつけて立体感を出す場合 */
}

.corp-inquiry-agent-header {
  /* 見出しと本文の間の margin-bottom は削除し、密着させます */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url("../img/corporation/agent_bg.webp?=202608040910") no-repeat center center / cover;
  background-color: #2c3e50; /* 画像がない場合のフォールバック */
  padding: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem) 20px; /* 上下の高さをしっかり確保 */
  text-align: center;
}

.corp-inquiry-agent-title {
  color: #ffffff;
  font-size: clamp(1.35rem, 1.1rem + 1.25vw, 1.875rem);
  font-weight: bold;
  margin: 0;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.corp-inquiry-agent-body {
  background-color: #ffffff; /* 本文エリアの白背景 */
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) clamp(1.5rem, 1.2rem + 2vw, 3rem); /* 左右の余白を広めにとって読みやすく */
  color: #333333;
  font-size: clamp(0.875rem, 0.8rem + 0.38vw, 1rem);
  line-height: 1.7;
}

/* スマホ表示時の余白微調整 */
@media (max-width: 767px) {
  .corp-inquiry-agent-body {
    padding: 20px 15px;
  }
}

/* -----------------------------------------
   レスポンシブ調整（タブレット・スマホ）
----------------------------------------- */
@media (max-width: 991px) {
  .corp-inquiry-payment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .corp-inquiry-contact-grid { grid-template-columns: 1fr; }
}

/* =========================================
   導入までの流れ（連動する矢印デザイン）

========================================= */

.t-flow {
    width: 100%;
    margin: 0 auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.t-flow .c-content_inner {
    width: 100%;
}

.t-flow .c-heading02 {
    text-align: center;
    font-size: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem);
    color: var(--color-primary, #1f286f);
    font-weight: bold;
    margin: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem) auto clamp(2rem, 1.5rem + 2.5vw, 3rem);
}

/* =========================================
   【PC版】 横並び・右向き矢印（▶）
========================================= */
.t-flow .step_list {
    display: flex;
    align-items: stretch; /* コンテナ内で高さを均等に揃える */
}

.t-flow .item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* 矢印の尖り具合（幅）と、アイテム間の隙間の白線 */
    --arrow-w: 24px; 
    --gap-x: 4px; 
    
    padding: 25px 15px 30px;
}

/* STEP 01（最初：右側だけ▶にカット） */
.t-flow .item:first-child {
    clip-path: polygon(0 0, calc(100% - var(--arrow-w)) 0, 100% 50%, calc(100% - var(--arrow-w)) 100%, 0 100%);
    padding-right: calc(15px + var(--arrow-w));
}

/* STEP 02, 03, 04（中間：左側を凹ませ、右側を▶にカット） */
.t-flow .item:not(:first-child):not(:last-child) {
    clip-path: polygon(0 0, calc(100% - var(--arrow-w)) 0, 100% 50%, calc(100% - var(--arrow-w)) 100%, 0 100%, var(--arrow-w) 50%);
    padding-left: calc(15px + var(--arrow-w));
    padding-right: calc(15px + var(--arrow-w));
    /* 前のアイテムの矢印にめり込ませつつ、gap分の白線を残す */
    margin-left: calc(-1 * var(--arrow-w) + var(--gap-x));
}

/* STEP 05（最後：左側だけ凹ませる） */
.t-flow .item:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--arrow-w) 50%);
    padding-left: calc(15px + var(--arrow-w));
    margin-left: calc(-1 * var(--arrow-w) + var(--gap-x));
}

/* 各ステップの背景色（画像に近い淡いトーン） */
.t-flow .item:nth-child(1) { background-color: #f2f9ff; }
.t-flow .item:nth-child(2) { background-color: #e5f2fe; }
.t-flow .item:nth-child(3) { background-color: #cfe8ff; }
.t-flow .item:nth-child(4) { background-color: #bddfff; }
.t-flow .item:nth-child(5) { background-color: #9fd0ff; }

/* -----------------------------------------
   カード内コンテンツ共通スタイル
----------------------------------------- */
.t-flow .num {
    display: inline-block;
    background-color: #ffffff;
    color: #103b75; /* 画像に近い濃紺 */
    font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.t-flow .matchHeight {
    font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
    color: #103b75;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 3em; 
}

.t-flow .image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-flow .image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.t-flow .tx {
    font-size: clamp(0.938rem, 0.915rem + 0.11vw, 1rem);
    color: #333333;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* =========================================
   【モバイル版】 縦並び・下向き矢印（▼）
========================================= */
@media (max-width: 768px) {
    .t-flow .step_list {
        flex-direction: column;
    }
    
    .t-flow .item {
        width: 100%;
        
        /* 矢印の尖り具合（高さ）と、アイテム間の隙間の白線 */
        --arrow-h: 24px;
        --gap-y: 6px;
        
        /* PC版の左右マージン・パディングを強制リセット */
        margin-left: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* STEP 01（最初：下側だけ▼にカット） */
    .t-flow .item:first-child {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--arrow-h)), 50% 100%, 0 calc(100% - var(--arrow-h)));
        padding-top: 30px;
        padding-bottom: calc(30px + var(--arrow-h));
    }

    /* STEP 02, 03, 04（中間：上側を凹ませ、下側を▼にカット） - ★ここを修正！ */
    .t-flow .item:not(:first-child):not(:last-child) {
        clip-path: polygon(0 0, 50% var(--arrow-h), 100% 0, 100% calc(100% - var(--arrow-h)), 50% 100%, 0 calc(100% - var(--arrow-h)));
        padding-top: calc(25px + var(--arrow-h));
        padding-bottom: calc(30px + var(--arrow-h));
        /* 上のアイテムの矢印にめり込ませつつ、gap分の白線を残す */
        margin-top: calc(-1 * var(--arrow-h) + var(--gap-y));
    }

    /* STEP 05（最後：上側だけ凹ませる） - ★ここを修正！ */
    .t-flow .item:last-child {
        clip-path: polygon(0 0, 50% var(--arrow-h), 100% 0, 100% 100%, 0 100%);
        padding-top: calc(25px + var(--arrow-h));
        padding-bottom: 30px;
        margin-top: calc(-1 * var(--arrow-h) + var(--gap-y));
    }
    
    .t-flow .matchHeight {
        min-height: auto;
    }
    .t-flow .image {
        width: 140px;
        height: 140px;
        margin: 0 auto 20px;
    }
}

/* =========================================
   課題・解決エリア (t-case)
========================================= */
.t-case {
    width: 100%;
    margin: 0 auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    padding: clamp(1rem, 1vw, 2rem) 0;
}

.t-case .c-content_inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 見出し */
.t-case .c-heading {
    text-align: center;
    font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.875rem);
    color: #333333;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
}

.t-case .type02 {
    margin-top: clamp(1.75rem, 1.659rem + 0.45vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.t-case .solution-logo {
    height: clamp(28px, 2.5vw, 40px);
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.t-case .color-blue {
    color: #1787d8; 
}

/* 改行制御 */
.t-case .is-pc { display: block; }
.t-case .is-sp { display: none; }


/* =========================================
   CASEリスト (3列・画像再現デザイン)
========================================= */
.t-case .case_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: clamp(0.938rem, 0.824rem + 0.57vw, 1.25rem);
}

.t-case .case_list .item {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 20px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px; /* 下部矢印のはみ出しスペース用 */
}

/* カード下の丸型青矢印 */
.t-case .case_list .item::after {
    content: "↓";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background-color: #1787d8;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(23, 135, 216, 0.3);
    z-index: 2;
}

/* ナンバー表示 (CASE 01) */
.t-case .case_list .num {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.t-case .case_list .num .label {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #1787d8;
    line-height: 1;
    margin-bottom: 2px;
}

.t-case .case_list .num .val {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    color: #0d4b83;
    line-height: 1;
}

/* 画像エリア */
.t-case .case_list .image {
    width: 100%;
    height: 160px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 4px;
}

.t-case .case_list .image img {
    height: 100%;
    object-fit: containcon;
}
/* =========================================
   挿入した人物画像エリア
========================================= */
.t-case .solution-person-image {
    text-align: center;
    margin-top: clamp(1.5rem, 1.222rem + 1.7vw, 2.5rem);
    margin-bottom: -20px; /* 下の見出しに自然に近づける */
}

.t-case .solution-person-image img {
    width: clamp(280px, 25vw, 380px); /* 画面幅に合わせて滑らかに拡大縮小 */
    height: auto;
    object-fit: contain;
    vertical-align: bottom; /* 下の隙間を消す */
}

/* =========================================
   SOLUTIONリスト内 テキストエリアの装飾
========================================= */
/* テキストエリア全体を囲むラッパー */
.t-case .solution_list .tx-wrap {
    padding: clamp(1.25rem, 1vw, 1.875rem) clamp(1rem, 1vw, 1.5rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #ffffff;
}

/* カード内の大見出し（青文字・太字・中央揃え） */
.t-case .solution_list .tx-title {
    color: #0d4b83;
    font-size: clamp(0.938rem, 0.88rem + 0.3vw, 1.125rem);
    font-weight: bold;
    text-align: center;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* カード内の本文（グレー文字・標準・両端揃え） */
.t-case .solution_list .tx-desc {
    color: #444444;
    font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem);
    font-weight: normal;
    line-height: 1.6;
    margin: 0;
    text-align: justify; /* 参考画像のように端を揃えて綺麗に見せる */
}


/* =========================================
   SOLUTIONリスト (3列・青枠カードデザイン)
========================================= */
.t-case .solution_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.t-case .solution_list .item {
    background: #ffffff;
    border: 2px solid #1787d8; /* 画像に合わせた青い枠線 */
    border-radius: 8px;
    padding: 0; /* 見出しの青背景を端まで広げるために0に設定 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* ドロップシャドウはそのまま */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow: hidden; /* 角丸からはみ出る見出し背景をカット */
}

.t-case .solution_list .item:hover {
    transform: translateY(-5px);
}

/* 見出し（青背景＋白文字） */
.t-case .solution_list .heading {
    background-color: #1787d8;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); /* 少し大きめに調整 */
    font-weight: bold;
    text-align: center;
    padding: 16px 10px;
    margin: 0;
}

/* 本文（白背景＋青文字） */
.t-case .solution_list .tx {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 読みやすいサイズに調整 */
    color: #0d4b83; /* テキストも画像に合わせた濃いめの青に */
    font-weight: bold;
    line-height: 1.6;
    padding: 35px 20px; /* テキスト周りの余白 */
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 「で解決できます」の途中改行を防ぐ */
.t-case .type02 .nowrap {
    display: inline-block;
    white-space: nowrap;
}

/* =========================================
   レスポンシブ対応
========================================= */
@media (max-width: 767px) {
    .t-case .is-pc { display: none; }
    .t-case .is-sp { display: inline; }

    .t-case .case_list,
    .t-case .solution_list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .t-case .case_list .image {
        height: 100px;
    }

    .t-case .type02 {
        flex-direction: column;
        gap: 5px;
    }

    /* ▼▼ 追記：スマホ時は最後の項目(CASE 03)以外の下向き矢印を消す ▼▼ */
    .t-case .case_list .item:not(:last-child)::after {
        display: none;
    }
    
    /* 矢印用の余白（margin-bottom: 20px）も不要になるためリセット */
    .t-case .case_list .item:not(:last-child) {
        margin-bottom: 0;
    }
}

/* =========================================
   業務シーンエリア (t-scene)
========================================= */
.t-scene {
    margin-top: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
}

/* 見出し */
.t-scene .scene-heading {
    text-align: center;
    font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.875rem);
    color: #333333;
    font-weight: bold;
    margin-bottom: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* 線とテキストの間隔 */
}

/* 見出しの青文字部分（少し大きく強調） */
.t-scene .scene-heading .color-blue {
    color: #1787d8;
    font-size: clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
}

/* 見出し左右の集中線（点線と実線の放射状デザインをCSSのみで再現） */
.t-scene .scene-heading::before,
.t-scene .scene-heading::after {
    content: "";
    display: block;
    width: clamp(3.75rem, 3.523rem + 1.14vw, 4.375rem);  /* 画面幅に合わせてサイズを可変 */
    height: clamp(4.688rem, 4.46rem + 1.14vw, 5.313rem);
    /* ↓ 画像を使わず、CSSの中に直接図形のコード(SVG)を書き込んで表示しています */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100' stroke='%231787d8' stroke-width='3.5' stroke-linecap='square'%3E%3Cg transform='translate(80, 50)'%3E%3Cline x1='-35' y1='0' x2='-175' y2='0' stroke-dasharray='4,7' /%3E%3Cline x1='-35' y1='0' x2='-70' y2='0' transform='rotate(22)' /%3E%3Cline x1='-34' y1='0' x2='-70' y2='0' transform='rotate(-22)' /%3E%3Cline x1='-35' y1='0' x2='-70' y2='0' stroke-dasharray='4,7' transform='rotate(43)' /%3E%3Cline x1='-35' y1='0' x2='-90' y2='0' stroke-dasharray='4,7' transform='rotate(-43)' /%3E%3Cline x1='-35' y1='0' x2='-60' y2='0' transform='rotate(65)' /%3E%3Cline x1='-35' y1='0' x2='-60' y2='0' transform='rotate(-65)' /%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8; /* サイトのトーンに合わせて色を少し馴染ませる */
}

/* 右側の装飾は左右反転させる */
.t-scene .scene-heading::after {
    transform: scaleX(-1);
}

/* 3列カードのリスト部分 */
.t-scene .scene-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2vw, 30px);
}

.t-scene .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 青い丸アイコン部分 */
.t-scene .icon-circle {
    width: clamp(140px, 15vw, 180px);
    height: clamp(140px, 15vw, 180px);
    background-color: #1787d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 30px; /* アイコン画像が丸の内側に収まるための余白 */
    box-sizing: border-box;
}

/* 丸の中の画像 */
.t-scene .icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 青い吹き出しラベル */
.t-scene .label {
    background-color: #1787d8;
    color: #ffffff;
    font-size: clamp(1.25rem, 1.114rem + 0.68vw, 1.625rem);
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding: 6px 10px 4px;
    border-radius: 50px; /* 角丸ボタン風 */
    position: relative;
    margin: 0 0 15px 0;
}

/* 吹き出しの上向き三角形 */
.t-scene .label::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 48%; /* 参考画像に合わせて少し左寄りに配置 */
    border-bottom: 12px solid #1787d8;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

/* 説明テキスト */
.t-scene .desc {
    font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem);
    color: #444444;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* レスポンシブ対応（スマホ表示用） */
@media (max-width: 767px) {
    .t-scene .scene-heading {
        gap: 8px; /* 線の間隔を狭める */
    }
    .t-scene .scene-heading::before,
    .t-scene .scene-heading::after {
        width: 60px; /* スマホ時は装飾線を小さく */
    }
    .t-scene .scene-list {
        grid-template-columns: 1fr; /* スマホでは縦1列に並べる */
        gap: 50px;
    }
}

/* =========================================
   クラウドWiFi / SIM 比較エリア
========================================= */
.gw-about-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: clamp(2.125rem, 1.443rem + 3.41vw, 4rem) auto 0;
    /* 親の余白を相殺して画面幅いっぱい気味にする場合は調整 */
}

/* カード共通設定 */
.gw-about-card {
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    flex: 1;
    position: relative;
    border: 1px solid #f0f0f0;
    /* ▼これを追加して、カードが画像に合わせて縦に伸びるのを防ぎます▼ */
    align-self: flex-start; 
}

/* クラウドWiFiとは？（右下以外を角丸） */
.gw-about-wifi {
    border-radius: 20px 20px 0 20px;
}

/* クラウドSIMとは？（左下以外を角丸） */
.gw-about-sim {
    border-radius: 20px 20px 20px 0;
}

/* そもそもバッジ */
.gw-about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: clamp(65px, 6vw, 85px);

    height: clamp(65px, 6vw, 85px);
    background-color: #f7c52d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.15rem);
    line-height: 1.15;
    z-index: 2;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

/* バッジのしっぽ（右下側） */
.gw-about-badge::after {
    content: '';
    position: absolute;
    bottom: 25px; /* 円の少し下寄りから出す */
    right: -10px; /* 右側に飛び出させる */
    /* 上辺を少し水平気味にし、下から斜めに上がる三角形を作る */
    border-top: 8px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 14px solid #f7c52d;
    transform: rotate(5deg); /* 全体の角度を微調整 */
}

.gw-about-badge span {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* タイトル */
.gw-about-title {
    font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
    color: #333333;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left; /* 中央寄せから左寄せに変更 */
    padding-left: clamp(35px, 5vw, 45px); /* バッジに被らないように左に余白を設ける */
    margin-top: -15px; /* バッジの中心と文字の縦位置を揃えるための微調整 */
    line-height: 1.3;
}
.gw-about-title .color-blue {
    color: #1787d8; /* 既存のメインブルー */
}
/* =========================================
   修正：サブタイトルの左寄せと余白
========================================= */
.gw-about-card h4.gw-about-subtitle {
    text-align: left !important;
    margin-bottom: 18px; /* 下の説明文との間隔 */
    font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
    font-weight: bold;
    color: #333333;
    line-height: 1.5;
}

/* =========================================
   新規追加：文字に追従する丸い点線
========================================= */
.gw-about-dotted-text {
    display: inline; /* インライン要素にすることで文字幅と改行にピッタリ追従します */
    background-image: radial-gradient(circle, #d4d4d4 40%, transparent 40%);
    background-size: 8px 4px; /* 点の大きさと間隔 */
    background-position: left bottom;
    background-repeat: repeat-x;
    padding-bottom: 8px; /* 文字と点線の間の隙間 */
    line-height: 1.9; /* 改行した際の上下のゆとりを確保 */
}
/* 説明文 */
.gw-about-desc {
    font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
    color: #666666;
    line-height: 1.4;
    text-align: justify;
    margin: 0;
}

/* 中央の人物画像 */
.gw-about-image {
    width: clamp(18.75rem, 18.523rem + 1.14vw, 19.375rem);
    flex-shrink: 0;
    display: flex;
    align-items: flex-end; /* 下揃え */
    justify-content: center;
}
.gw-about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* =========================================
   レスポンシブ対応（1299px以下で縦並び ＆ カード中央寄せ）
========================================= */
@media (max-width: 1299px) {
    .gw-about-container {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }
.gw-about-title {
    font-size: 1.2rem;
    margin-top: -10px; /* バッジの中心と文字の縦位置を揃えるための微調整 */
    padding-left: 45px;
}

    .gw-about-card {
        width: 95%;
        max-width: 700px; /* 1299px等の広い画面でカードが横に広がりすぎないように制限 */
        /* ▼ PC版のflex-startを解除して中央寄せにする ▼ */
        align-self: center; 
    }

    /* 画像が一番下に来るように order を変更 */
    .gw-about-wifi {
        order: 1;
        border-radius: 20px; /* 全角丸で統一 */
    }
    .gw-about-sim {
        order: 2;
        border-radius: 20px;
    }
    .gw-about-image {
        order: 3;
        width: clamp(220px, 60vw, 300px);
        margin-top: -10px;
        margin-bottom: 20px;
    }
    
    .gw-about-badge {
        left: -10px; /* はみ出しすぎないように調整 */
    }
}

/* =========================================
   ガイド画像表示エリア (修正版)
========================================= */
.gw-guide-container {
  display: grid;
  gap: 20px;
  margin-top: 0;
  width: 100%;
}

/* 1299px以下：1列並び（縦並び） */
@media (max-width: 1299px) {
  .gw-guide-container {
    grid-template-columns: 1fr;
    max-width: 600px; /* 1列の時に画像が大きくなりすぎないよう制限 */
    margin-left: auto;
    margin-right: auto;
  }
}

/* 1300px以上（1299pxより大きい）：2列並び（横並び） */
@media (min-width: 1300px) {
  .gw-guide-container {
    /* 画像の本来の横幅比率（814 : 685）に合わせてカラムを分割することで、高さを綺麗に揃えます */
    grid-template-columns: 814fr 685fr;
    max-width: 100%; 
  }
}

.gw-guide-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gw-guide-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================================
   業務シーンエリア (クラウドWiFiのメリットページ 4列用)
========================================= */
.t-scene-merit {
    margin-top: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
}

/* 見出し */
.t-scene-merit .scene-heading {
    text-align: center;
    font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.875rem);
    color: #333333;
    font-weight: bold;
    margin-bottom: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.t-scene-merit .scene-heading .color-blue {
    color: #1787d8;
    font-size: clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
}

/* 見出し左右の集中線 */
.t-scene-merit .scene-heading::before,
.t-scene-merit .scene-heading::after {
    content: "";
    display: block;
    width: clamp(3.75rem, 3.523rem + 1.14vw, 4.375rem);
    height: clamp(4.688rem, 4.46rem + 1.14vw, 5.313rem);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100' stroke='%231787d8' stroke-width='3.5' stroke-linecap='square'%3E%3Cg transform='translate(80, 50)'%3E%3Cline x1='-35' y1='0' x2='-175' y2='0' stroke-dasharray='4,7' /%3E%3Cline x1='-35' y1='0' x2='-70' y2='0' transform='rotate(22)' /%3E%3Cline x1='-34' y1='0' x2='-70' y2='0' transform='rotate(-22)' /%3E%3Cline x1='-35' y1='0' x2='-70' y2='0' stroke-dasharray='4,7' transform='rotate(43)' /%3E%3Cline x1='-35' y1='0' x2='-90' y2='0' stroke-dasharray='4,7' transform='rotate(-43)' /%3E%3Cline x1='-35' y1='0' x2='-60' y2='0' transform='rotate(65)' /%3E%3Cline x1='-35' y1='0' x2='-60' y2='0' transform='rotate(-65)' /%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.t-scene-merit .scene-heading::after {
    transform: scaleX(-1);
}

/* ★4列カードのリスト部分 */
.t-scene-merit .scene-list {
    display: grid;
    /* デフォルト(PCなどの大画面)は4列 */
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 1.5vw, 25px);
}

/* レスポンシブ対応（スマホ表示用） */
@media (max-width: 767px) {
    .t-scene-merit .scene-heading {
        gap: 2px; /* 線の間隔を狭める */
        font-size: clamp(1.25rem, 1.213rem + 0.19vw, 1.375rem); /* 全体の文字サイズを縮小 */
        white-space: nowrap; /* ★改行を禁止して1行に収める */
    }
    
    .t-scene-merit .scene-heading .color-blue {
        font-size: clamp(1.5rem, 1.463rem + 0.19vw, 1.625rem); /* 青い強調文字も縮小 */
    }

    .t-scene-merit .scene-heading::before,
    .t-scene-merit .scene-heading::after {
        width: 60px; /* ★スマホ時は装飾線を小さく */
    }
    
    .t-scene-merit .scene-list {
        grid-template-columns: 1fr; /* スマホでは縦1列に並べる */
        gap: 0px;
    }
}

.t-scene-merit .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 青い丸アイコン部分 */
.t-scene-merit .icon-circle {
    /* 4列に収まるよう、少しサイズの上限を調整 */
    width: clamp(150px, 12vw, 220px);
    height: clamp(150px, 12vw, 220px);
    background-color: #1787d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 25px;
    box-sizing: border-box;
}

.t-scene-merit .icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 青い吹き出しラベル */
.t-scene-merit .label {
    background-color: #1787d8;
    color: #ffffff;
    font-size: clamp(0.938rem, 0.869rem + 0.34vw, 1.125rem); /* 4列用に少し調整 */
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding: 6px 5px 4px; /* 横幅が狭くなるため左右のパディングを減らす */
    border-radius: 50px;
    position: relative;
    margin: 0;
}

.t-scene-merit .label::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 48%;
    border-bottom: 12px solid #1787d8;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.t-scene-merit .desc {
    font-size: clamp(0.813rem, 0.784rem + 0.15vw, 0.938rem); margin: 10px 0 0;
}

/* =========================================
   レスポンシブ対応（4列→2列→1列）
========================================= */

/* タブレットサイズ：1024px以下で2列に変更 */
@media (max-width: 1300px) {
    .t-scene-merit .scene-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px; /* 縦の隙間を少し広めにとる */
    }
/* 青い吹き出しラベル */
.t-scene-merit .label {
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    padding: 8px 5px 6px; /* 横幅が狭くなるため左右のパディングを減らす */
}

}

/* レスポンシブ対応（スマホ表示用） */
@media (max-width: 767px) {
    .t-scene .scene-heading {
        gap: 6px; /* 線の間隔を狭める */
        font-size: clamp(1.25rem, 1.213rem + 0.19vw, 1.375rem); /* 全体の文字サイズを縮小 */
        white-space: nowrap; /* ★改行を禁止して1行に収める */
    }
    
    .t-scene .scene-heading .color-blue {
        font-size: clamp(1.5rem, 1.463rem + 0.19vw, 1.625rem); /* 青い強調文字も縮小 */
    }

    .t-scene .scene-heading::before,
    .t-scene .scene-heading::after {
        width: 40px; /* ★スマホ時は装飾線を小さく */
        height: 50px; /* ★高さも合わせて縮小 */
    }
    
    .t-scene .scene-list {
        grid-template-columns: 1fr; /* スマホでは縦1列に並べる */
        gap: 15px;
    }
/* 青い吹き出しラベル */
.t-scene-merit .label {
    font-size: 0.85rem;
    padding: 8px 5px 6px; /* 横幅が狭くなるため左右のパディングを減らす */
}
}

/* CVRバナー画像用スタイル */
.plan_cvr {
  width: 100%;
  margin: 20px auto; /* 必要に応じて上下の余白を調整 */
}

.plan_cvr a {
  display: block;
}

.plan_cvr picture {
  display: block;
  width: 100%;
}

.plan_cvr img {
  width: 100%; max-width: 760px;
  height: auto;
  display: block;
  border: none;
    margin: 0 auto;
}