@charset "utf-8";
/* =========================================
   変数定義 & 基本設定
   ========================================= */ :root {
  --primary: #004ea2;
  --primary-light: #eef4fb;
  --accent: #f39800;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --bg-gray: #f8f9fa;
  --border: #dde2e6;
}
body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  margin: 0;
  line-height: 1.8;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
/* =========================================
   2. 共通コンポーネント
   ========================================= */
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}
/* =========================================
   ヘッダー 
   ========================================= */
#header {
  background: #fff;
  width: 100%;
}
.header-main {
  padding: 20px 0;
}
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-main .logo {
  width: 320px;
  display: block;
}
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* PC用ナビゲーション */
.global-nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-item .category {
  color: #333;
  font-size: 17px;
  padding: 10px 0;
  display: block;
  cursor: pointer;
}
/* ドロップダウン */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 100;
  border-top: 3px solid #00a0e9;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: 120%;
}
.dropdown li a {
  padding: 10px 20px;
  display: block;
  color: #333;
  font-size: 14px;
}
.dropdown li a:hover {
  background: #f5f5f5;
  color: #00a0e9;
}
/* 製品ヘッダー */
#header-p-cuben {
  border-top: 3px solid #5fb6ff;
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s;
}
.product-logo img {
  height: 45px;
  width: auto;
  vertical-align: middle;
}
.product-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}
.product-nav li {
  border-right: 1px solid #ddd;
  padding: 0 15px;
}
.product-nav li:first-child {
  border-left: 1px solid #ddd;
}
.product-nav a {
  color: #333;
  font-size: 15px;
  display: block;
}
.product-nav a:hover {
  color: #00a0e9;
}
.btn-red {
  background: #ff5a4e;
  color: #fff;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.btn-red::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M20%202H4c-1.1%200-2%20.9-2%202v12c0%201.1.9%202%202%202h14l4%204V4c0-1.1-.9-2-2-2zm-2%2012H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  margin-right: 8px;
}
.btn-red:hover {
  background: #e04a3f;
  opacity: 0.9;
}
/* 固定ヘッダー用クラス */
.js-header-fixed.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: none;
}
/* ハンバーガーメニュー (PCは非表示)  */
.hamburger-btn {
  display: none;
  width: 50px;
  height: 50px;
  background-color: #e8a1a1;
  border: none;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 13px;
  transition: 0.3s;
}
.hamburger-btn span:nth-child(1) {
  top: 15px;
}
.hamburger-btn span:nth-child(2) {
  top: 24px;
}
.hamburger-btn span:nth-child(3) {
  top: 33px;
}
/* メニューオープン時の×印 */
.hamburger-btn.is-active span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  top: 24px;
  transform: rotate(-45deg);
}
/* PCのみ表示クラス */
.pc-only {
  display: flex !important;
}
/* =========================================
   4. パンくずリスト
   ========================================= */
.breadcrumb-nav {
  background-color: #f9f9f9;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-list li {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
}
.breadcrumb-list li a, .breadcrumb-list li span {
  color: #2c72c3;
}
.breadcrumb-list li a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.breadcrumb-list li::after {
  content: ">";
  margin: 0 12px;
  color: #666;
  font-family: Arial, sans-serif;
}
.breadcrumb-list li:last-child::after {
  content: none;
}
.breadcrumb-list li:last-child span {
  color: #333;
}
/* =========================================
   5. 喚起（キャッチコピー）エリア
   ========================================= */
.hero {
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
  padding: 80px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tagline {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--primary);
}
.price-item {
  font-size: 1.2rem;
  font-weight: bold;
}
.cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.highlight {
  font-size: 2.5rem;
  color: var(--accent);
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.5);
}
.hero-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* =========================================
   6. 喚起（煽り）エリア
   ========================================= */
.problems {
  background: var(--bg-gray);
  padding: 50px 0;
}
.problems .grid, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card, .benefit-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.card {
  border-top: 5px solid var(--primary);
}
.card:hover {
  transform: translateY(-10px);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.feature-item h3 {
  color: var(--primary);
  font-size: 1.4rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.benefit-card {
  background: var(--primary-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-10px);
}
.benefit-img-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: #ccc;
  border: 5px solid var(--white);
  flex-shrink: 0;
}
.benefit-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefit-card .icon {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.5;
}
.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}
/* =========================================
   7. クロージング (導入の流れ)
   ========================================= */
.flow-b .container .section-desc {
  padding-bottom: 20px;
  text-align: center;
}
.flow-steps-b {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 40px;
}
/* カード共通スタイル */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 20px;
  width: 280px;
  position: relative;
  text-align: center;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.step-card h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  width: 100%;
}
.step-label {
  background: var(--primary);
  color: var(--white);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
}
/* 矢印 (▶) のスタイル調整 */
.step-arrow {
  color: #dde2e6;
  font-size: 1.5rem;
  /* 矢印を上下中央に配置するためのFlex設定 */
  display: flex;
  align-items: center;
  height: auto;
  opacity: 1;
  margin-top: 0;
}
/* =========================================
   8. お問い合わせ
   ========================================= */
.inquiry-card {
  max-width: 800px;
  margin: 0 auto;
  border: 4px solid #4a80c0;
  background: #fff;
}
.inquiry-header {
  background: #4a80c0;
  padding: 15px;
  text-align: center;
  color: #fff;
}
.inquiry-body {
  padding: 40px 20px;
  text-align: center;
}
.btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4a80c0;
  color: #fff;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.btn-inquiry:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.phone-number {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}
/* =========================================
   9. フッター
   ========================================= */
#footer {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.footer-upper {
  background-color: #f5f5f5;
  padding: 50px 0;
}
.footer-grid {
  display: flex;
  justify-content: flex-start;
  gap: 80px;
}
.footer-group {
  margin-bottom: 25px;
}
.footer-title {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 15px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
.footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background-color: #e8a1a1;
}
.footer-list a {
  color: #333;
}
.footer-list a:hover {
  text-decoration: underline;
}
.sns-icons img {
  width: 40px;
  height: auto;
  padding-left: px;
  margin-left: 10px;
}
.footer-lower {
  background-color: #fff;
  padding: 20px 0;
  border-top: 1px solid #eee;
}
.lower-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo img {
  width: 320px;
  height: auto;
}
.copyright {
  font-size: 14px;
  color: #666;
}
.icon {
  display: flex;
}
/* ページトップボタン */
.pagetop-link {
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.pagetop-link.is-visible {
  opacity: 1;
  visibility: visible;
}
.pagetop-link a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #fce4e4;
  border: 1px solid #e8a1a1;
  position: relative;
}
.pagetop-link a::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #e8a1a1;
  border-right: 2px solid #e8a1a1;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.flow-b .container .section-desc {
  padding-bottom: 20px;
  text-align: center;
}
/* =========================================
   10. レスポンシブ対応 (スマホ: 768px以下)
   ========================================= */
@media (max-width: 768px) {
  /* PC用パーツを隠す */
  .pc-only {
    display: none !important;
  }
  /* ロゴとハンバーガーの配置 */
  .header-main {
    padding: 10px 0;
  }
  .header-main .flex-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .header-main .logo {
    width: 200px;
    margin: 0;
  }
  /* ハンバーガーボタン表示 */
  .hamburger-btn {
    display: block;
  }
  /* スマホ用ナビゲーション (スライド) */
  .nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    transition: 0.4s;
    z-index: 1000;
    padding-top: 70px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  .nav-area.is-open {
    right: 0;
  }
  .global-nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  .nav-item .category {
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /* アコーディオンアイコン */
  .nav-item .category::after {
    content: "+";
    font-weight: bold;
    color: #ccc;
  }
  .nav-item .category.is-open::after {
    content: "-";
  }
  /* ドロップダウン (アコーディオン化) */
  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    display: none;
    background: #f9f9f9;
  }
  .dropdown li a {
    padding: 12px 30px;
  }
  /* グリッド要素を縦並びに変更 */
  .hero-grid, .problems .grid, .problem-grid, .benefit-grid, .features, .footer-grid, .lower-flex {
    display: block; /* 縦並び */
  }
  .hero-text h1 {
    font-size: 1.7rem;
  }
  .hero-grid {
    text-align: center;
  }
  .hero-img {
    order: -1;
    margin-bottom: 30px;
  }
  .hero-img, .feature-img {
    margin-top: 30px;
    text-align: center;
  }
  /* 導入フロー(A/B共通)の縦並びと矢印調整 */
  .flow-steps, .flow-steps-b {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  /* 矢印の位置調整（回転・固定幅で中央揃え） */
  .step-arrow {
    transform: rotate(90deg);
    margin: 10px auto;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: block;
    flex-shrink: 0;
  }
  /* ステップカードの幅調整 */
  .step-card, .step-item, .problem-card {
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  /* その他パーツ調整 */
  .price-box {
    justify-content: center;
    flex-wrap: wrap;
  }
  .breadcrumb-nav {
    padding: 10px 0;
  }
  .lower-flex {
    text-align: center;
  }
  .footer-logo img {
    margin: 0 auto 10px;
  }
  .btn-inquiry {
	  
    width: 100%;
    box-sizing: border-box;
  }
  .phone-number {
    font-size: 1.8rem;
  }
}
/* アニメーション用クラス（メディアクエリの外に配置） */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}
.active {
  opacity: 1;
  transform: translateY(0);
}