.pc {
  display: inline;
}
/* スマホ（画面幅767px以下）では非表示 */
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}
.sp {
  display: none;
}

/* スマホ表示の時だけ有効にする */
@media screen and (max-width: 768px) {
  .sp {
    display: inline;
  }
}
/* メインビジュアル全体のレイアウト */
.main-visual {
  display: flex;
  align-items: center;        /* 垂直方向を中央揃え */
  justify-content: space-between;
  width: 100%;
  min-height: 320px;          /* 画面の高さに合わせて調整してください */
  padding: 0 4%;              /* 左右の余白 */
  box-sizing: border-box;
  /* border-radius: 10px; */
  
  /* 全体の背景設定 */
  background-color:#007bff;
  background-image: url('background-image.jpg'); /* 背景画像のパス */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* 左右のブロック（各20%） */
.side-block {
  flex: 0 0 20%;              /* 幅を20%に固定 */
  display: flex;
  justify-content: center;
}

.visual-leftimg {
  margin: 0 auto;
  width: 130%;
  height: auto;
 /* border-radius: 8px;         /* 角を少し丸くする場合 */
 /* box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* 画像を浮き上がらせる */
}

.visual-rightimg {
    margin-top: 100px;
    margin-right: 330px;
    width: 25%;
    height: auto;
 /* border-radius: 8px;         /* 角を少し丸くする場合 */
 /* box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* 画像を浮き上がらせる */
}

/* 中央のブロック（残り60%） */
.center-block {
  flex: 1;                    /* 残りのスペースを埋める */
  text-align: center;
  color: #ffffff;             /* テキストカラー（背景に合わせて調整） */
  padding: 0 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 文字を見やすくするための影 */
}

.main-title {
  font-size: 3.0rem;            /* 大見出しのサイズ */
  margin-bottom: 10px;
  font-weight: bold;
}

.sub-title {
  font-size: 2.15rem;         /* 小見出しのサイズ */
  margin-top: 0;
  opacity: 0.9;
}

/* スマホ表示への対応（レスポンシブ） */
@media (max-width: 768px) {
  .main-visual {
    flex-direction: column;   /* 縦並びに変更 */
    height: auto;
    padding: 40px 20px;
  }
  .side-block {
    width: 60%;               /* スマホでは画像を少し大きく */
    margin: 20px 0;
  }
  .center-block {
    order: -1;                /* スマホではテキストを一番上に */
  }
  .main-title {
    font-size: 2rem;
  }
  .sub-title {
    font-size: 1.15rem
  }
  .visual-leftimg {
    margin-bottom: 0;
    margin-left: 0;
    width: 200%;
    height: auto;
  } 
  .visual-rightimg {
    margin-top: 0;
    margin-right: 0;
    width: 50%;
    height: auto;
  }
}
/* セクション全体の余白 */
.merit-section {
  padding: 80px 5%;
  max-width: 1800px;
  margin: 0 auto;
}

/* --- 1. 見出しブロックのデザイン --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  gap: 20px;
}

.header-side-icon {
  width: 50px;
  height: auto;
}

.header-text-wrap {
  text-align: center;
  padding: 15px 40px;
  /* 上下のボーダー装飾 */
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  position: relative;
}

.section-title {
  color: #007bff;
  font-size: 3.0rem;
  letter-spacing: 0.1em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 文字を見やすくするための影 */
}

.section-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-top: 5px;
}

/* --- 2. メリット3カラムのデザイン --- */
.merit-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.merit-card {
  flex: 1;
  padding: 40px 25px;
  border: 1px solid #ddd; /* 枠線 */
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.merit-card:hover {
  transform: translateY(-10px); /* 浮き上がる演出 */
}

/* カード個別の背景設定（例） */
.card-bg-01 { background-color: #f9f9f9; }
.card-bg-02 { background-color: #fffef0; }
.card-bg-03 { background-color: #f0f7ff; }

.card-icon-wrap {
  margin-bottom: 20px;
}

/* 見出しとアイコンを包むエリア */
.card-title-area {
  display: flex;
  align-items: center;    /* 垂直方向中央 */
  justify-content: center;/* 水平方向中央 */
  gap: 10px;              /* アイコンと文字の間隔 */
  margin-bottom: 20px;
  background: #007bff;       /* 見出し部分の背景色 */
  padding: 10px 15px;
  border-radius: 15px;    /* カプセル型の装飾 */
  color: #fff;
}

/* カード内アイコンのサイズ調整 */
.card-item-icon {
  width: 40px;            /* 見出しに合わせたサイズ */
  height: 40px;
  object-fit: contain;
}

.card-icon {
  width: 80px;
  height: auto;
}

/* 見出し文字（背景は親要素で設定しているためシンプルに） */
.card-item-title {
  font-size: 1.4rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* メリット見出し（背景装飾） */
.card-item-title2 {
  display: inline-block;
  background: #333;      /* 見出し背景色 */
  color: #fff;
  padding: 8px 20px;
  font-size: 1.1rem;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* 説明文（背景装飾） */
.card-item-desc {
  background: rgba(255, 255, 255, 0.6); /* 半透明の背景 */
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  text-align: left; /* 文章は左寄せが読みやすい */
}
.card-item-desc span {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- スマホ対応（レスポンシブ） --- */
@media (max-width: 768px) {
  .section-header {
    gap: 10px;
  }
  .header-side-icon {
    width: 30px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  
  .merit-grid {
    flex-direction: column; /* 縦並び */
  }
}
/* スマホ対応（横並びだと狭い場合、左寄せにするなどの調整） */
@media (max-width: 768px) {
  .card-title-area {
    justify-content: flex-start; /* スマホでは左寄せにしてもOK */
    padding-left: 20px;
  }
}
/* --- 問いかけセクション --- */
.problem-section {
  padding: 80px 5%;
  background-color: #f4f7f9; /* 少し落ち着いた背景色 */
}

.problem-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 40px;
  gap: 40px;
}

.problem-img {
  flex: 0 0 30%;
}

.problem-img img {
  width: 100%;
  height: auto;
}

.message-label {
  color: #007bff;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.message-text {
  font-size: 3rem;
  line-height: 1.4;
  margin: 0;
}

/* リストボックス */
.problem-list-box {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  
  /* 雲のような柔らかい角丸（あえて少し歪ませています） */
  border-radius: 60px 40px 70px 50px;
  
  /* 悩みを表現する、少し曖昧な点線ボーダー */
  border: 3px dashed #cbd5e0;
  
  /* 浮遊感を出すための、広く柔らかい影 */
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.03),
    0 10px 15px rgba(0,0,0,0.02);
  
  position: relative;
  
  /* ふわふわと浮くアニメーション */
  animation: fluffy-float 4s ease-in-out infinite;
}
/* 吹き出しのような装飾（考え事をしているイメージ） */
.problem-list-box::before,
.problem-list-box::after {
  content: "";
  position: absolute;
  background: #fff;
  border: 3px dashed #cbd5e0;
  border-radius: 50%;
  z-index: -1;
}

.problem-list-box::before {
  width: 40px;
  height: 40px;
  top: -35px;
  left: 18%;
}

.problem-list-box::after {
  width: 20px;
  height: 20px;
  top: -52px;
  left: 17%;
}

/* ふわふわ浮遊するアニメーションの定義 */
@keyframes fluffy-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0px); /* 動かす時は-10px等入れる */
  }
  100% {
    transform: translateY(0);
  }
}


.problem-list {
  list-style: none; /* シンボルなし */
  padding: 0;
  margin: 0;
}

.problem-list li {
  font-size: 1.4rem;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  color: #555;
}

.problem-list li:last-child {
  border-bottom: none;
}

/* --- ソリューションセクション --- */
.solution-section {
  padding: 80px 0;
}

/* 強調タイトルバック */
.solution-hero {
  background: #007bff; /* メインカラー */
  padding: 60px 5%;
  text-align: center;
  margin-bottom: 60px;
  /* border-top: 8px solid #0056b3; /* 濃いめのボーダーで装飾 */
  /* border-bottom: 8px solid #0056b3; */
}

.solution-main-copy {
  color: #fff;
  font-size: 3rem;
  line-height: 1.5;
  margin: 0;
}

.solution-main-copy span {
  /* background: linear-gradient(transparent 60%, #ffdf00 60%); /* マーカー風装飾 */
  /* color: #333; */
  padding: 0 10px;
}

/* 個別項目リスト */
.solution-items-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 5%;
}

.solution-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #007bff;
  padding: 25px;
  border-radius: 15px;
  gap: 20px;
}

.solution-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0; /* アイコンが潰れないように固定 */
}

.solution-text {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .problem-intro {
    flex-direction: column;
    text-align: center;
  }
  .message-text {
    font-size: 1.6rem;
  }
  .solution-main-copy {
    font-size: 1.6rem;
  }
  .solution-item {
    flex-direction: column;
    text-align: center;
  }
}

.plan-comparison {
  padding: 80px 5%;
  background-color: #fff;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.header-icon {
  width: 160px;
  height: auto;
}

.plan-section-title {
  font-size: 2.5rem;
  font-weight: bold;
}
.plan-section-title span {
  display: block;
  font-size: 1.2rem;
  color: #007bff;
  margin-top: 10px;
}

/* プランカードのレイアウト */
.plan-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
  /* スマホ対応: 縦並びにする */
  flex-wrap: wrap;
}

.plan-card {
  flex: 1;
  text-align: center;
  min-width: 300px; 
  position: relative; 
  margin-top: 60px;   /* 吹き出しが表示されるスペースを確保 */
}

.plan-label {
  background: #007bff;
  color: #fff;
  padding: 10px 40px;
  border-radius: 50px;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.plan-feature {
  font-size: 1.1em;
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.plan-desc-box {
  border: 4px solid #f0f0f0;
  padding: 30px 20px;
  border-radius: 20px;
  background: #fff;
  min-height: 150px;
  display: flex;
  align-items: center;
  line-height: 1.6;
  text-align: left;
  font-size: 1.2rem;
  height: 18rem;
}

/* --- 吹き出しのスタイル --- */
.speech-bubble-sharp {
    position: absolute;
    top: -54px;
    left: 50%;
    width: 70%;
    transform: translateX(-50%);
    background: #f39c12;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    z-index: 10;
}

/* 下矢印 */
.speech-bubble-sharp::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -5px; /* 矢印の中央寄せ */
    border-style: solid;
    border-width: 25px 15px 0 0; 
    border-color: #f39c12 transparent transparent transparent;
    transform: rotate(15deg); /* 角度を少し控えめに調整 */
}


/* プランBGを段階強調する */
.plan-card.featured0 .plan-label {
  background: #007bffc7;
}

.plan-card.featured1 .plan-label {
    background: #007bff;
}

.plan-card.featured2 .plan-label {
    background: #0040ffdb;
}
/*おすすめプランを強調 */
.plan-card.featured .plan-desc-box {
    border-color: #ff9800;
}

@media (max-width: 768px) {
  .plan-grid { flex-direction: column; }
  .plan-header { gap: 10px; }
  .header-icon { width: 40px; }
  .plan-card {
    width: 100%;
    max-width: 400px;
    margin-top: 80px; 
  }
}

/* プラン別価格／サービスメニューセクション */
.pricing-visual-section {
  width: 100%;
  padding-bottom: 80px;
}

/* 幅いっぱいのオレンジタイトル */
.pricing-wide-title {
  width: 100%;
  background-color: #007bff; /* コーポレートブルー */
  padding: 20px 0;
  text-align: center;
  margin-bottom: 60px;
}

.pricing-wide-title h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.1em;
}

/* 3つのブロックを並べるコンテナ */
.pricing-flex-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
  /* padding: 0 4%; */
}

/* 個別カード */
.price-detail-card {
  flex: 1;
  background: #fff;
  border: 4px solid #eee;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
    margin: 10px;
    padding: 10px;
}

/* スタンダードプランなどを強調する場合 */
.price-detail-card.highlight {
    width: 100%;
  border: 4px solid #ff9800;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.15);
}

/* プラン名と金額のブロック */
.plan-header-box {
    width: 100%;
  background: #fdfdfd;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 2px solid #f0f0f0;
}

.plan-name {
    width: 100%;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.plan-price {
  font-size: 1.1rem;
  color: #666;
}

.plan-price span {
  font-size: 2rem;
  font-weight: bold;
  color: #ff9800;
}

/* サービスメニューのリスト */
.service-menu-list {
    width: 100%;
  list-style: none;
  padding: 30px 20px;
  margin: 0;
}

.service-menu-list li {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 1.4rem;
  padding: 12px 0;
  border-bottom: 1px solid #f9f9f9;
  color: #444;
}

.service-menu-list li:last-child {
  border-bottom: none;
}

/* アイコン画像の設定 */
.menu-icon {
  width: 40px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
}
.menu-inner-image {
  position: relative;
  left: 5rem;
  width: 50%;
  height: auto;
}

/* 未対応項目のグレーダウン */
.service-menu-list li.not-available {
  color: #ccc;
  text-decoration: line-through;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .pricing-flex-container {
    flex-direction: column;
    align-items: center;
  }
  .price-detail-card {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
  }
  .price-detail-card.highlight {
    transform: scale(1); /* スマホでは拡大を解除 */
  }
}

/* 契約・運用に関するFAQ　セクション */

.faq-section {
  padding: 80px 5%;
  background-color: #f9f9f9;
}

.faq-title-box {               /* 新規設定 */
    margin: 0 auto 60px;
    max-width: 1200px;
}

.faq-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 50px;
  display: block;
  background: #007bff;
  color: #fff;
  padding: 10px 40px;
  border-radius: 50px;
}

.faq-list {
  max-width: 800px;
  border: 8px solid #f0f0f0; /* やや太めのボーダー */
  padding: 30px 20px;
  border-radius: 20px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-q {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
}

.faq-q span {
  color: #007bff;
}

.faq-a {
  color: #666;
  line-height: 1.7;
  padding-left: 28px;
  margin: 0;
}

/* --- サービス利用の流れセクション --- */
.flow-section {
  padding: 100px 5%;
  background-color: #fff;
}

.flow-main-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
}

.flow-main-title span {
  display: block;
  font-size: 1.4rem;
  color: #007bff;
  margin-top: 10px;
}

/* ステップ全体のコンテナ */
.flow-steps-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
}

/* 縦のライン */
.flow-steps-container::before {
  content: "";
  position: absolute;
  top: 38;
  left: 25px; /* 数字の中心に合わせる */
  width: 2px;
  height: 100%;
  background-color: #e0e0e0;
  z-index: 1;
}

/* 個別ステップ */
.flow-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.step-num {
    position: relative;
    top: 2rem;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

.step-content {
  background-color: #f8f9fa;
  padding: 25px 30px;
  border-radius: 12px;
  flex: 1;
  border: 1px solid #eee;
}

.step-title {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  color: #333;
}

.step-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.step-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #d32f2f; /* 注釈を少し強調 */
  font-weight: bold;
}

/* --- 振替制度ボックス --- */
.reschedule-info-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff9e6; /* 薄い黄色で注意を引く */
  border: 2px solid #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
}

.reschedule-header {
  background-color: #f8f9fa;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.reschedule-icon {
  width: 100px;
  height: 100px;
}

.reschedule-title {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.reschedule-body {
  padding: 25px 30px;
}

.reschedule-body p {
  margin: 0;
  line-height: 1.7;
  font-weight: bold;
  color: #6a6a6a;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .flow-step {
    flex-direction: column;
    gap: 15px;
  }
  .flow-steps-container::before {
    display: none; /* スマホではラインを消してシンプルに */
  }
  .step-num {
    margin: 0 auto;
  }
  .step-content {
    text-align: center;
  }
}

/* --- 成功事例セクションのスタイル --- */
.results-section {
  color:  #030370;
  padding: 80px 5%;
  background-color: #fcfcfc;
}

.results-main-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.results-main-title span {
  display: block;
  font-size: 1rem;
  color: #888;
  margin-top: 10px;
}

/* --- 新聞見出し風ラベル --- */
.news-label-container {
  max-width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-label {
  display: flex;
  align-items: center;
  background: #fff;
  border-left: 8px solid #030370; /* 新聞風の太いアクセント線 */
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
  text-decoration: none;
  color: #030370;
  transition: all 0.3s;
}

.news-label:hover {
  background: #f0f0f0;
  transform: translateX(5px);
  text-decoration: none!important;
  color: #030370;
}

.news-label,
.news-label * {
  color: #030370;
}

.news-label:hover,
.news-label:hover * {
  color: #030370;
}

.news-icon {
  width: 30px;
  margin-right: 15px;
}

.success-date {             /* 新規設定 */
    margin: 10px 24px 10px 4px;
    padding: 10px 25px 10px 4px;
    border-right: 1px solid #666;
}

.news-content-wrap {
  flex: 1; /* 残りの幅をすべて使う */
  display: flex;
  flex-direction: column;
}

.news-text {
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.4;
}

.news-meta {
  text-align: right; /* 右寄せ */
  font-size: 0.85rem;
  color: #888;
  margin-top: 5px;
  font-family: sans-serif;
}

/* --- 実績詳細カード --- */
.case-cards-area {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.case-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;  
  margin-top: 30px;
  margin-bottom: 60px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  /* アンカーリンクで飛んだ時に、ヘッダー分を考慮した余白 */
  scroll-margin-top: 20px;
}

/* カード上部見出しブロック */
.case-header {
  background: #030370;
  color: #fff;;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-title {
  font-size: 1.6rem;
  margin: 0;
}

.case-subtitle {
  font-size: 0.9rem;
  margin: 5px 0 0;
  opacity: 0.8;
}

.case-header-icon {
  background-color: #fff;
  padding:6px;
  width: 60px;
  height: auto;
}

/* カード本体レイアウト */
.case-body {
  display: flex;
  gap: 40px;
  padding: 40px;
}

/* 左側：30% */
.case-visual {
  flex: 0 0 30%;
}

.case-visual img {
  width: 100%;
  border-radius: 4px;
}

.case-visual figcaption {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
  text-align: center;
}

/* 右側：70% */
.case-content {
  flex: 1;
}

.case-content h4 {
  font-size: 1.3rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-top: 0;
}

.case-content p {
  font-size: larger;
  line-height: 1.8;
  color: #030370;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .case-body {
    flex-direction: column;
  }
  .case-header {
    flex-direction: column;
    text-align: center;
  }
  .case-header-icon {
    margin-top: 15px;
  }
}

/* --- クライアント情報エリアの装飾 --- */
.client-info-box {
  margin-top: 25px;
  background-color: #f8f9fa;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 4px;
}

.info-title {
  font-size: 0.8rem;
  color: #333;
  border-bottom: 2px solid #333;
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  letter-spacing: 0.1em;
}

.info-list {
  margin: 0;
  font-size: 0.85rem;
}

.info-list dt {
  float: left;
  clear: left;
  width: 5em;
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.info-list dd {
  margin-left: 5.5em;
  margin-bottom: 5px;
  color: #333;
}

/* 最後にfloatを解除 */
.info-list::after {
  content: "";
  display: block;
  clear: both;
}

/* スマホ表示での微調整 */
@media (max-width: 768px) {
  .news-label {
    align-items: flex-start; /* アイコンを上揃えに */
  }
  .news-meta {
    text-align: left; /* スマホでは左寄せの方が見やすい場合が多い */
  }
}

/* --- CTAセクションのスタイル --- */
.cta-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* 信頼感のある青のグラデーション */
  padding: 100px 5%;
  text-align: center;
  color: #fff;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}

.cta-lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 50px;
}

.cta-action-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* 問い合わせボタン */
.cta-btn {
  background: #ff9800; /* オレンジ */
  color: #fff;
  text-decoration: none;
  padding: 20px 50px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.cta-btn:hover {
  background-color: #f57c00;
  transform: scale(1.05);
}

.btn-sub {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.btn-main {
  width: 260px;
  font-size: 1.4rem;
  font-weight: bold;
}

/* 相談（予約）ボタン */
.cta-tel-btn {
  background: #6a6a6a; /* グレー */
  color: #fff;
  text-decoration: none;
  padding: 20px 50px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s, background-color 0.3s;
}
.cta-tel-btn:hover {
    background-color:#555;
    transform: scale(1.05);
}

.tel-label {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.tel-number {
  font-size: 2rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.tel-time {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* --- フッター（footer）スタイル --- */
.main-footer {
  background-color: #333;
  color: #eee;
  padding: 80px 5% 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand { flex: 1.5; }
.footer-nav, .footer-links { flex: 1; }

.footer-logo {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ccc;
}

.footer-heading {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #ff9800;
}

.footer-nav ul, .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li, .footer-links li {
  margin-bottom: 12px;
}

.footer-nav a, .footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover, .footer-links a:hover {
  color: #ff9800;
}

.copyright {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cta-action-area {
    flex-direction: column;
    gap: 30px;
  }
  .footer-inner {
    flex-direction: column;
  }
}

/* ---　問い合わせボタン　--- */

/* --- 共通：追従ボタンのベース --- */
.floating-contact-wrap {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none; /* 背後の要素をクリックできるようにし、ボタンのみ有効化 */
}

.floating-contact-wrap a {
  pointer-events: auto; /* ボタン部分はクリック可能に */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- PC用：フローティングボタン --- */
.floating-pc-btn {
  position: fixed;
  /* 配置：画面下端の中央 */
  bottom: 40px;
  left: 50%;
  /* 自身の幅の半分だけ左にずらして完全に中央揃えにする。
     後述のアニメーションでY軸も動かすため、ここではX軸のみ指定 */
  transform: translateX(-50%);

  /* 形状：カプセル型 */
  width: auto;        /* 幅はテキスト量に合わせる */
  min-width: 300px;   /* 最低限の幅を確保して存在感を出す */
  height: 64px;       /* ボタンの高さ */
  border-radius: 32px;/* 高さの半分を指定してカプセル形にする */
  padding: 0 40px;    /* 内側の余白 */

  /* デザイン */
  background: linear-gradient(to right, #ff9800, #ff5722); /* 視線を集めるグラデーション */
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4); /* 強い影で浮遊感を強調 */
  opacity: 0.9;  /* 半透明に */
  
  /* 内部レイアウト（横並び） */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  /* アニメーション適用：3秒かけてゆっくり上下に動く */
  animation: float-capsule 3s ease-in-out infinite;
}

/* アイコンの調整 */
.floating-pc-icon img {
  width: 28px;
  height: auto;
  margin-bottom: 0; /* 以前のスタイルをリセット */
  vertical-align: middle;
}

/* テキストの調整 */
.floating-pc-text {
  font-size: 1.2rem; /* 文字を大きくハッキリと */
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ホバー時の挙動 */
.floating-pc-btn:hover {
  /* ホバー時はアニメーションを一時停止して押しやすくする */
  animation-play-state: paused;
  background: linear-gradient(to right, #fb8c00, #f4511e); /* 少し濃くする */
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.6); /* 影を少し縮めて「押した感」を出す */
}

/* --- ふわふわアニメーションの定義 --- */
@keyframes float-capsule {
  0%, 100% {
    /* 開始と終了は元の位置（X軸の中央揃えは維持） */
    transform: translateX(-50%) translateY(0);
  }
  50% {
    /* 中間地点で5px上に浮き上がる */
    transform: translateX(-50%) translateY(-5px);
  }
}

/* --- スマホ用：下部固定バー --- */
.floating-mobile-bar {
  display: none; /* デフォルトは非表示 */
}

/* --- レスポンシブ切り替え --- */

/* スマホ表示（768px以下） */
@media (max-width: 768px) {
  /* PC用ボタンを隠す */
  .floating-pc-btn {
    display: none;
  }

  /* スマホ用バーを表示 */
  .floating-mobile-bar {
    display: flex;
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  }

  .mobile-btn-tel, .mobile-btn-web {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
  }

  .mobile-btn-tel {
    background-color: #6a6a6a; /* 相談・予約は落ち着いた色 */
  }

  .mobile-btn-web {
    background-color: #ff9800; /* WEBはアクセントカラー */
  }

  .mobile-btn-tel img, .mobile-btn-web img {
    width: 20px;
    height: auto;
  }
}


/* 下からフェードインするスタイル */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 1.2s ease-out;
}
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}
