/* ======== 基本設定 & リセット ======== */
:root {
    --bg-color-main: #f5f1e9;
    --bg-color-content: #fffcfc;
    --header-bg-color: #5d534a;
    --text-color-main: #3a3a3a;
    --highlight-bg: #ffff66;
    --highlight-text: #db6a6a;
    --ribbon-bg: #ea8991;
    --float-btn-bg: #e6a3ab;
}

html {
  scroll-behavior: smooth;
}


.pcnon{
	display: none;
}

.spnon{
	display: block;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color-main);
    font-size: 16px;
    line-height: 1.8;
	background-image: url(/lp01/images/bg01.png);
	background-repeat: no-repeat;
	background-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; /* 画像下の余白対策 */
}

a {
    text-decoration: none;
    color: inherit;
}

.bot70{
	margin-bottom: 70px;
}

/* ======== 全体のラッパー ======== */
.container {
    width: 100%;
    margin: 0 auto;
}

/* ======== ヘッダー ======== */
header {
    padding: 10px 15px;
    display: flex;
    max-width: 768px;
    margin: 0 auto;
    text-align: left;
}

.mv{
	margin-top: -80px;
}


/* ======== メインビジュアル ======== */
.mv img {
    width: 100%;
    display: block;
}

/* ======== コンテンツ本文 ======== */
.content-body {
    padding: 40px 30px 60px;
}

.content-body h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.8;
}

.content-body h1 span.highlight {
    color: #d57d7d;
}

.content-body p.highlight {
    font-size: 28px;
    font-weight: 700;
    color: var(--highlight-text);
    line-height: 1.5;
    margin: 15px 0 40px;
    text-align: center;
    letter-spacing: 2px;
}

.content-body p.highlight span {
    background: linear-gradient(transparent 70%, var(--highlight-bg) 70%);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    /* inline要素にすることで、改行されても背景が追従します */
}

.content-body p:not(.highlight) {
    margin: 1.5em 0;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 2;
}

/* ======== リボン風ボタン ======== */
.ribbon-button {
    display: block;
    position: relative;
    background-color: var(--ribbon-bg);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 18px 40px;
    margin: 50px auto 0;
    border: 2px dotted rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    max-width: 400px; /* ボタンが広がりすぎないように設定 */
    transition: background-color 0.3s;
}
.ribbon-button:hover {
    background-color: #e0737d;
}

.ribbon-button::before,
.ribbon-button::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

/* 左の切り込み */
.ribbon-button::before {
    left: 0;
    border-width: 12px 12px 12px 0; /* 上 右 下 左 */
    border-color: transparent var(--bg-color-content) transparent transparent;
}

/* 右の切り込み */
.ribbon-button::after {
    right: 0;
    border-width: 12px 0 12px 12px; /* 上 右 下 左 */
    border-color: transparent transparent transparent var(--bg-color-content);
}

/* ======== 固定フローティングボタン ======== */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 1000;
}


.floating-button img {
    width: 250px;
    height: auto;
}

.floating-button span {
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}
.floating-button .fb-text-top {
    font-size: 11px;
    margin-top: 5px;
}
.floating-button .fb-text-bottom {
    font-size: 13px;
}

.ribbon-heading {
  position: relative;
  background-color: var(--ribbon-bg);
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-align: left;
  padding: 18px 25px;
  margin: 50px auto 40px auto;
  box-sizing: border-box;
  outline: 2px dotted rgba(255, 255, 255, 0.9);
  outline-offset: -6px;
}

.ribbon-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--bg-color-main); /* 背景と同じ色で切り欠く */
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.ribbon-heading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: #fffafb;
  z-index: 2;
}
.chat-row {
  align-items: flex-start; /* ← これで上端揃え！ */
  display: flex;
  gap: 12px;
  margin: 0 0 20px 0;
}
.mb40 {
  margin-bottom: 40px !important;
}
.chat-row.advisor {
  flex-direction: row-reverse;
}

.chat-icon {
  text-align: center;
  width: 70px;
}

.chat-icon img {
  width: 60px;
  height: auto;
}

.chat-icon .name {
    font-size: 13px !important;
    margin: 8px 0 0 0 !important;
    color: #444;
    line-height: 1.4 !important;
    font-weight: bold;
}

.chat-bubble {
  max-width: 70%;
  padding: 16px 20px;
  border-radius: 12px;
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-bubble p{
    padding: 0 !important;
    margin: 0 !important;
}
.user-bubble {
  background-color: #ffffff;
  border: 1px solid #ccc;
}

.advisor-bubble {
  background-color: #fff5e5;
  border: 1px solid #e0d4c4;
}

/* 吹き出しの▲（左） */
.user-bubble::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -12px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #ffffff;
}

/* 吹き出しの▲（右） */
.advisor-bubble::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -12px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #fff5e5;
}


/* トラブルリストのチェックマークと色 */
.trouble-list {
    margin: 1em 0 !important;
    padding: 0 !important;

  padding-left: 1.5em;
  color: #c76060;
  font-size: 16px;
  line-height: 1.8;
  list-style: none;
}

.trouble-list li {
  margin-bottom: 0.6em;
    font-size: 1.2rem;
    font-weight: bold;
    color: #d57d7d;
}

.trouble-list i {
  margin-right: 0.5em;
  color: #e47171;
}

/* 黄色マーカー風の強調 */
.highlight {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #ffff99 60%);
  display: inline;
}
.highlight2 {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #ffff99 60%);
  display: inline;
}


.accordion{
    margin-top: 50px;
}
.fa-solid, .fas {
    font-weight: 900;
    margin-right: 10px;
}
.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #fff;
  color: #ea8991;
  padding: 14px 18px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #ea8991;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px; /* ← 上にスペース追加 */
  border-radius: 15px;
}

.accordion-toggle:first-of-type {
  margin-top: 0; /* 最初のボタンだけ上の余白なし */
}

.accordion-toggle:hover {
  background-color: #fdf4f5;
}

.accordion-toggle i {
  margin-left: 8px;
}

.accordion-toggle > span {
  display: flex;
  align-items: center; /* アイコンと文字を縦方向の中央に揃える */
  gap: 10px;           /* アイコンと文字の間の隙間を調整 */
  text-align: left;    /* 文字を左揃えにする */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  /* ★変更点１：transitionの対象を明記し、滑らかさを調整 */
  transition: max-height 0.4s ease-out, padding 0.4s ease-out; 
  
  background: #fffdfc;
  padding: 0 18px; /* 開いていない時の縦パディングを0に */
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  border-left: 3px solid #ea8991;
  margin-top: 8px;
  margin-bottom: 20px;
  
  /* ★変更点２：高さ計算の基準を明確にする */
  box-sizing: border-box; 
}

.accordion-content.open {
    padding-top: 15px;
    padding-bottom: 15px;
    max-height: 1000px !important;
    line-height: 2 !important;
    font-size: 16px !important;
}

.section-lead {
  background: #fff7f5;
  border-left: 5px solid #ea8991;
  padding: 24px 30px;
  margin: 40px 0;
  font-size: 16px;
  line-height: 1.9;
  border-radius: 6px;
}
.section-lead p{
    line-height: 1.6 !important;
}

.section-lead h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #c64b53;
    margin: 0;
    padding: 0;
}

.tooltip-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px; /* PCとスマホでの余白を調整 */
  margin: 60px auto 40px;
}

.tooltip-item {
  position: relative;
  width: 170px; /* 少し小さくしてスマホでの収まりを良くする */
  text-align: center;
  cursor: pointer;
}

.tooltip-item img {
    width: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    height: 70px !important;
}

.tooltip-item:hover img {
    transform: scale(1.1); /* PCでのホバーアニメーションは残す */
}

.tooltip-item .label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4 !important;
   margin: 0 !important;
}

.tooltip-text {
  display: none; /* 初期状態は非表示 */
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  width: 280px;
  text-align: left;
  line-height: 2;
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
   最重要：JSでactiveクラスが付いた時にだけ表示するように変更
   ★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
.tooltip-item.active .tooltip-text {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-20px);
}


.tooltip-container {
    counter-reset: tooltip-counter;
    margin: 80px 0 0 0;
}


.tooltip-item {
  position: relative; /* これは既にあるはずですが、念のため確認 */
  z-index: 1; /* ★重要：アイテム自体に重なり順を指定 */
    margin-bottom: 70px;
}

.tooltip-item::before {
  counter-increment: tooltip-counter;
  content: "0" counter(tooltip-counter);
  
  position: absolute;
  top: -40px; 
  left: 50%;
  transform: translateX(-50%);
  
  font-size: 32px;
  font-weight: 700;
  font-family: 'Helvetica', sans-serif;
  
  color: #dd888e; 

  z-index: -1;
  line-height: 1;
}

.sub-title{
	text-align: center;
	font-weight: bold;
}

.sub-title h2 {
    font-size: 26px !important;
}

.tooltip_caution {
    color: #c64b53;
    margin: -30px 0 70px 0 !important;
    text-align: center;
}


/* ５．PC表示の調整 */
@media screen and (min-width: 769px) {
  .tooltip-item::before {
    font-size: 40px;
    top: -50px;
  }
}

.cta-icon-wrapper {
  text-align: center;
  margin: 10px 0 30px 0;
  line-height: 1;
}

.cta-icon-wrapper i.fa-hand-holding-heart {
  /* ▼▼▼ スタイルを強制的に適用します ▼▼▼ */
  display: inline-block !important;
  font-size: 48px !important;
  color: #ea8991 !important; /* テーマカラーのピンク */
  opacity: 1 !important;
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.voice-section {
  margin: 40px 0; /* 前後の余白を調整 */
}

/* 「お客様の声」の大見出し */
.voice-section .section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--header-bg-color);
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.voice-section .section-title i {
  color: var(--ribbon-bg); /* アイコンの色をピンクに */
}

.voice-list {
  display: flex;
  flex-direction: column;
  gap: 40px; /* 各声の間の余白 */
}

.voice-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
}

/* 「〜〜を依頼」の部分 */
.voice-summary-lead {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--header-bg-color);
    line-height: 1.5 !important;
    margin: 0 !important;
}


.voice-summary-quote {
    font-size: 16px !important;
    color: var(--ribbon-bg);
    margin: 8px 0 20px 0 !important;
    font-weight: bold;
}
.voice-summary-quote::before {
  content: '“';
}
.voice-summary-quote::after {
  content: '”';
}

/* 「全文を読む/閉じる」ボタン */
.toggle-voice {
  font-size: 14px;
  font-weight: bold;
  background-color: #fff4f5; /* 薄いピンクの背景 */
  color: var(--ribbon-bg);
  border: 1px solid var(--ribbon-bg);
  border-radius: 30px; /* 角を丸くしてボタンらしく */
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none; /* 下線を削除 */
    display: block;
    margin: 0 auto;
}
.toggle-voice:hover {
  background-color: var(--ribbon-bg);
  color: #fff;
}
.toggle-voice.open {
    background-color: var(--ribbon-bg);
    color: #fff;
}

.voice-item {
  position: relative; /* ★重要：疑似要素を配置する基準点にする */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 50px 35px;
  text-align: center;
  margin-top: 30px; /* ★追加：アイコンを配置するスペースを確保 */
}
.voice-item:first-child {
    margin-top: 0; /* 最初のアイテムだけ上の余白をなくす */
}

.voice-item::before {
  /* ★修正点１：正しいアイコンのUnicodeに変更 */
  content: "\f075"; 
  
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solidスタイルを指定 */
  
  position: absolute;
  top: -25px;
  left: 50%;

  /* ★修正点２：回転(rotate)を削除 */
  transform: translateX(-50%); 
  
  font-size: 26px; /* アイコンサイズを調整 */
  color: #fff;
  background-color: var(--ribbon-bg);
  
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 3px solid #fff;
}

/* 詳細部分（Q&A）のコンテナ */
.voice-detail {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px dashed #e0d4c4; /* 点線で区切る */
  display: none; /* 初期状態は非表示 */
}

.qa-block {
  margin-bottom: 25px;
}
.qa-block:last-child {
  margin-bottom: 0;
}

.qa-block .question {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  color: var(--header-bg-color);
  margin-bottom: 10px;
}
.qa-block .question::before {
  content: 'Q.';
  color: var(--ribbon-bg);
}

.qa-block .answer {
  line-height: 1.8;
  color: #5a5049;
  font-size: 15px;
  padding-left: 2em; /* 字下げして見やすく */
    text-align: left;
}


.checklist-section {
  text-align: center;
  margin: 80px auto;
  padding: 0 20px;
}

.checklist-description {
  margin: 40px 0;
  line-height: 1.9;
  font-size: 16px;
  color: #5a5049;
  max-width: 680px; /* 読みやすいように最大幅を指定 */
  margin-left: auto;
  margin-right: auto;
    text-align: left;
}

.checklist-description p {
  margin: 0 0 1.5em 0;
}
.checklist-description p:last-child {
  margin-bottom: 0;
}

.pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #f19756;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(241, 151, 86, 0.5);
  transition: all 0.3s ease;
}

.pdf-button .fa-file-arrow-down {
  font-size: 20px;
}

.pdf-button:hover {
  background-color: #e47f44; /* f19756 の濃いめバリエーション */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(241, 151, 86, 0.6);
}

.qa-section {
  margin: 80px 0;
  padding: 0 20px;
}

.qa-lead {
  text-align: left;
  margin: 40px auto;
  line-height: 1.9;
  font-size: 16px;
  color: #5a5049;
  max-width: 680px;
}
.qa-lead p {
  margin: 0 0 1.5em 0;
}
.qa-lead p:last-child {
  margin-bottom: 0;
}

/* Q&A用アコーディオンの微調整 */
.qa-accordion .accordion-toggle {
  text-align: left; /* テキストを左寄せに */
  font-size: 18px; /* 少しフォントサイズを調整 */
}
.qa-accordion .accordion-toggle span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Q&Aのアイコン */
.q-icon {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 20px;
  color: #ea8991; /* ボタンの背景色に馴染むように */
  opacity: 0.8;
}

/* 開いたコンテンツ内のスタイル */
.qa-accordion .accordion-content .qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: #5a5049;
}
.qa-accordion .accordion-content .a-icon {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 20px;
  color: var(--header-bg-color); /* Aのアイコンの色 */
}
.qa-accordion .accordion-content p {
  margin: 0;
  padding: 0;
}

/* ======== CTAセクション ======== */
.cta-section {
  padding: 60px 0 80px;
  border-top: 3px solid #f0e6e8;
}

.cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #ea8991;
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  color: #ea8991;
  margin: 0 0 30px 0;
}

.cta-description {
  font-size: 16px;
  line-height: 1.9;
  color: #5a5049;
  text-align: left;
  margin-bottom: 40px;
}
.cta-description p {
  margin: 0 0 1.5em 0;
}
.cta-description p:last-child {
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button i {
  font-size: 24px;
  margin-bottom: 8px;
}

/* ★変更点: テキストが収まるようにフォントサイズを調整 */
.cta-button span {
  font-size: 26px; 
  letter-spacing: 1px;
}

.cta-button small {
  font-size: 13px;
  font-weight: normal;
  margin-top: 6px;
  opacity: 0.9;
}

/* ★変更点: 電話ボタンのスタイルをピンクに */
.cta-button.phone {
  background: linear-gradient(135deg, #ea8991, #d37079);
  box-shadow: 0 5px 15px rgba(234, 137, 145, 0.4);
}
.cta-button.phone:hover {
  box-shadow: 0 8px 25px rgba(234, 137, 145, 0.5);
}

/* ★追加: LINEボタンのスタイル */
.cta-button.line {
  background: linear-gradient(135deg, #06c755, #00b900);
  box-shadow: 0 5px 15px rgba(6, 199, 85, 0.4);
}
.cta-button.line:hover {
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.5);
}

/* ★追加: Font Awesomeのブランドアイコン(fab)にもスタイルを適用 */
.cta-button i.fab {
  font-size: 28px; /* LINEアイコンのサイズを微調整 */
}

  .responsive-iframe {
    width: 100%;
    height: 945px;
    border: none;
  }

  @media (max-width: 768px) {
    .responsive-iframe {
      height: 1215px;
    }
  }

/* ======== 会社概要セクション（修正後）======== */
.company-info-section {
    padding: 50px 25px 50px 25px;
    background: #fff;
    margin-top: -120px;
    position: relative;
    z-index: 1000;s
}

.company-info-container {
  max-width: 720px;
  margin: 0 auto;
}

.company-logo {
  text-align: center;
  margin-bottom: 40px;
}
.company-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse; /* 罫線を1本にまとめる設定 */
  font-size: 15px;
}

.company-table th,
.company-table td {
  /* 変更点1: 全方位の罫線を削除 */
  border: none;
  /* 変更点2: 下線のみを設定 */
  border-bottom: 1px solid #e0d9cf;
  
  padding: 18px 10px; /* 上下の余白を少し広げて見やすく調整 */
  text-align: left;
  vertical-align: top;
}

.company-table th {
  font-weight: 700;
  width: 160px; /* 見出しの幅を少し広げて調整 */
  color: #8c7b69; /* 参考画像に近い色味に変更 */
}

/* ★追加: 最後の行の下線を消して、見た目をスッキリさせる */
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

footer {
  background-color: var(--header-bg-color); /* ヘッダーと同じ色で統一感を出す */
  padding: 20px;
  text-align: center;
}

.copyright p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
}


.cta-button span.sub_tel{
	font-size: 18px;
}

/* スマホ表示用の調整 */
@media (max-width: 768px) {
    .voice-section .section-title {
        font-size: 22px;
    }
    .voice-item {
        padding: 40px 20px;
    }
    .voice-summary-lead {
        font-size: 17px;
    }
}

@media screen and (max-width: 1350px) {
.floating-button{
  display: none;
}
}


/* ======== PC表示 (768px以上) ======== */
@media screen and (min-width: 769px) {
    .container {
        max-width: 768px;
    }
    
    .floating-button {
        right: 30px;
        bottom: 30px;
    }
}


/* スマホ表示用の調整 */
@media (max-width: 768px) {
  .tooltip-container {
    padding: 0 10px;
  }
.tooltip-item {
    position: relative;
    width: 130px;
}
.tooltip-item .label {
    font-size: 14px !important;
}
  .tooltip-text {
    width: 200px; 
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
  }
  
  .tooltip-item.active .tooltip-text {
      transform: translateX(-50%) translateY(-20px);
  }

.pcnon{
	display: block;
}
.spnon{
	display: none;
}
.tooltip-item {
    position: relative;
    z-index: 1;
    margin-bottom: 40px !important;
}
.tooltip_caution {
    color: #c64b53;
    margin: 0px 0 70px 0 !important;
    text-align: center;
}
.ribbon-heading {
    font-size: 20px;
}
.chat-row {
    margin: 0 0 40px 0;
}
.trouble-list li {
    margin-bottom: 0.6em;
    font-size: 16px;
    font-weight: bold;
    color: #d57d7d;
}
.trouble-list i {
    margin-right: 0.2em;
}
.chat-icon .name {
    font-size: 10px !important;
    letter-spacing: 0 !important;
}
.ribbon-heading {
    padding: 18px 20px;
}
.checklist-section {
  margin: 60px auto;
}
.checklist-description {
  font-size: 15px;
}
    .pdf-button {
        font-size: 15px;
        padding: 14px 20px;
    }
.sf-form-cover{
	display: none !important;
}
  .qa-section {
    margin: 60px 0;
  }
  .qa-accordion .accordion-toggle {
    font-size: 18px;
  }
  .qa-accordion .accordion-content .qa-answer {
    font-size: 15px;
  }

.cta-section {
  padding: 50px 15px 60px;
}
.cta-title {
        font-size: 22px;
        letter-spacing: 3px;
    }
.cta-description {
  font-size: 15px;
}
.cta-button span {
  font-size: 20px;
}

.company-info-section {
        padding: 50px 25px 50px 25px;
        background: #fff;
        margin-top: -350px;
        position: relative;
        z-index: 1000;
}
.company-logo img {
  max-width: 240px;
}
.company-table {
  font-size: 14px;
}
.company-table th {
  width: 100px;
}
.company-table th,
.company-table td {
  padding: 12px;
}
.content-body h2 {
    font-size: 20px;
}
.content-body p.highlight {
    font-size: 24px;
    line-height: 1.8;
}
.content-body p:not(.highlight) {
    font-size: 16px;
}
.accordion-toggle {
    font-size: 18px;
}
.section-lead h2 {
    font-size: 18px;
    line-height: 1.5;
}
.qa-block .question {
    text-align: left;
}

.content-body h1 {
    font-size: 25px;
}

}


.problem-section {
    margin: 40px 0 60px;
}

.problem-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.problem-left {
    flex-shrink: 0; /* 画像が縮まないように */
    width: 150px;
}

.problem-right {
    flex-grow: 1; /* 残りのスペースを埋める */
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 14px 25px;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: #555;
    box-shadow: 0 3px 8px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}

.problem-list li:last-child {
    margin-bottom: 0;
}

/* アイコンのスタイル */
.problem-list .fa-circle-xmark {
    color: #e57373;
    margin-right: 10px; /* アイコンと文字の間に隙間を作る */
}

.section-heading-arrow {
    position: relative;
    background-color: #2e8b8b; /* 画像に近い緑色 */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.section-heading-arrow p {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 下向きの三角形 */
.section-heading-arrow::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px; /* 上, 右, 下, 左 */
    border-color: #2e8b8b transparent transparent transparent;
}


/* ======== スマホ表示用の調整 ======== */
@media (max-width: 768px) {
    .problem-container {
        flex-direction: column; /* 縦積みに変更 */
        gap: 30px;
    }

    .problem-left {
        width: 120px; /* 少し小さく */
    }
    
    .problem-list li {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .problem-conclusion p {
        font-size: 18px !important;
    }
}


.reason-section {
    text-align: center;
    margin: 80px 0;
}

.reason-lead, .reason-highlight {
    font-size: 22px;
    font-weight: bold;
    color: #2e8b8b;
    line-height: 1.8;
}

.reason-highlight {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* 黄色マーカー用のクラス */
.marker {
    background: linear-gradient(transparent 70%, #ffff99 70%);
    padding: 0.1em 0; /* マーカーの太さを微調整 */
}

.reason-box {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.reason-box-left {
    flex: 0 0 120px; /* 横幅120pxで固定 */
}

.reason-box-right {
    flex: 1;
    background-color: #f0fafb;
    border: 1px solid #d8eaea;
    border-radius: 15px;
    padding: 25px;
}

.reason-box-right p {
    margin: 0 0 1em 0 !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #333;
}
.reason-box-right p:last-child {
    margin-bottom: 0 !important;
}

.reason-box-right p strong {
    color: #2e8b8b;
    font-size: 18px;
}


/* ======== スマホ表示用の調整 ======== */
@media (max-width: 768px) {
    .reason-section {
        margin: 60px 0;
    }
    
    .reason-lead, .reason-highlight {
        font-size: 18px;
    }

    .reason-box {
        flex-direction: column; /* 縦積みに変更 */
        gap: 30px;
    }

    .reason-box-left {
        flex-basis: auto;
        width: 100px;
    }

    .reason-box-right {
        padding: 20px;
    }
    
    .reason-box-right p {
        font-size: 15px !important;
    }

    .reason-box-right p strong {
        font-size: 16px;
    }
}

.future-wave-section {
    text-align: center;
    padding: 60px 0;
    margin-top: -30px; /* 前のセクションの吹き出しと少し重ねる */
}

.wave-block {
    margin-top: 50px;
}

.wave-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.wave-button-img {
    max-width: 200px;
    margin-bottom: 25px;
}

.wave-description, .wave-description-sub {
    font-size: 16px;
    line-height: 2;
    color: #333;
    padding: 0 10px;
}

.wave-description-sub {
    margin-top: 2em !important;
}

.wave-description strong, .wave-description-sub strong {
    font-size: 1.1em;
}

/* 矢印の区切り */
.arrow-separator {
    margin: 40px 0;
    color: #2e8b8b;
    opacity: 0.5;
}

.arrow-separator .fa-angles-down {
    font-size: 36px;
    animation: bounce 2s infinite; /* 上下に跳ねるアニメーション */
}

/* 跳ねるアニメーションの定義 */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ======== スマホ表示用の調整 ======== */
@media (max-width: 768px) {
    .future-wave-section {
        padding: 40px 0;
    }
    
    .wave-description, .wave-description-sub {
        font-size: 15px;
    }
}


.solution-section {
    padding: 80px 0;
    text-align: center;	
	background: #afdadf;
}

.solution-img {
    max-width: 450px;
    margin: 0 auto 40px;
    display: block;
}


.solution-lead-top{
    font-size: 22px;
    font-weight: bold;
    color: var(--theme-color);
    line-height: 1.8;
    color: #2e8b8b;
	border-radius: 20px;
	background: #fff;
	display: inline-block;
	padding: 10px 30px;
}

.solution-lead {
    font-size: 22px;
    font-weight: bold;
    color: var(--theme-color);
    line-height: 1;
    margin-bottom: 1em;
    color: #2e8b8b;
}

.solution-lead .fa-arrow-right-long {
    margin: 0 0.3em;
}

.solution-main-keyword {
    font-size: 90px;
    font-weight: 900;
    color: var(--theme-color);
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    color: #2e8b8b;
}

.solution-sub-keyword {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-top: 5px;
}

.solution-conclusion {
    font-size: 24px;
    font-weight: 900;
    color: var(--theme-color);
    margin-top: 1em;
    display: inline-block;
    position: relative;
    padding: 0 1em;
    color: #2e8b8b;
}

/* 結論テキストの上下の線 */
.solution-conclusion::before,
.solution-conclusion::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--accent-color);
    opacity: 0.5;
}

.solution-conclusion::before {
    top: -10px;
}

.solution-conclusion::after {
    bottom: -10px;
}


/* ======== スマホ表示用の調整 ======== */
@media (max-width: 768px) {
    .solution-section {
        padding: 60px 0;
    }

.mv {
    margin-top: -30px;
}
.container {
    width: auto;
    margin: 0 7%;
}
.section-heading-arrow p {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
}

.solution-lead-top{
    display: block;
    line-height: 1.5;
	margin-bottom: 30px;
}


	.solution-img {
        max-width: 90%;
        margin-bottom: 30px;
    }

    .solution-lead {
        font-size: 18px;
    }

    .solution-main-keyword {
        font-size: 15vw; /* 画面幅に応じてサイズが変わるように */
    }

    .solution-sub-keyword {
        font-size: 14px;
    }

    .solution-conclusion {
        font-size: 20px;
    }
}

.solution-lead-top {
    font-size: 22px;
    font-weight: bold;
    color: var(--theme-color);
    line-height: 1.8;
    margin-bottom: 30px;
}
.solution-lead {
    font-size: 18px;
    font-weight: bold;
    color: var(--theme-color);
    line-height: 1.8;
    margin-bottom: 1em;
}
.solution-lead .fa-arrow-right-long {
    margin: 0 0.3em;
}

/* つなぎのデザイン（区切り線） */
.transition-divider {
    width: 80px;
    height: 3px;
    background-color: var(--theme-color);
    opacity: 0.2;
    margin: 80px auto; /* 上下の余白を大きく取る */
    border-radius: 2px;
}

/* つなぎのデザイン（導入タイトル） */
.checklist-intro-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-color-main);
    text-align: center;
    margin: 0 0 20px 0;
}
.checklist-intro-title i {
    color: var(--theme-color);
}

/* つなぎのデザイン（導入リード文） */
.checklist-intro-lead {
    font-size: 16px;
    line-height: 2;
    color: #555;
    max-width: 680px;
    margin: 0 auto 40px;
}

/* チェックリスト画像のスタイル */
.checklist-image {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: block;
    box-shadow: 0 15px 40px rgba(46, 139, 139, 0.15); /* テーマカラーに合わせた影 */
    border-radius: 30px; /* 画像のスマホの角丸に合わせる */
}


/* ======== スマホ表示用の調整 ======== */
@media (max-width: 768px) {
    .solution-lead-top {
        font-size: 18px;
    }
    .solution-lead {
        font-size: 16px;
    }

    .transition-divider {
        margin: 60px auto;
    }

    .checklist-intro-title {
        font-size: 20px;
        line-height: 1.6;
    }
    .checklist-intro-lead {
        font-size: 15px;
    }
    .checklist-image {
        max-width: 320px;
        border-radius: 25px;
    }
}

img.icon-img{
	width: 70px;
	height: auto;
	display: block;
	margin: 30px auto 0 auto;
}

img.icon-img2{
	width: 70px;
	height: auto;
	display: block;
	margin: 0 auto 30px auto;
}

.report-link-wrapper {
    text-align: center; /* ボタンを中央に配置 */
    margin-top: 30px;   /* 上の画像との余白 */
    margin-bottom: 30px; /* 下の要素との余白 */
}

/* レポートダウンロードボタン本体 */
.report-btn {
    display: inline-flex; /* アイコンとテキストを横並びにするため */
    align-items: center; /* アイコンとテキストを上下中央揃えに */
    justify-content: center; /* 中身を中央揃えに */
    padding: 15px 30px;
    background-color: #f59e0b; /* 目立つオレンジ色 */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px; /* 角を少し丸くする */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 立体感を出す影 */
    transition: all 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタンにマウスカーソルが乗った時のスタイル */
.report-btn:hover {
    background-color: #d97706; /* 少し濃いオレンジ色に */
    transform: translateY(-2px); /* 少し上に浮き上がる動き */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* ボタン内のアイコンのスタイル */
.report-btn-icon {
    width: 24px;  /* アイコンの幅 */
    height: 24px; /* アイコンの高さ */
    margin-right: 12px; /* アイコンとテキストの間の余白 */
}

/* スマートフォンなど画面幅が狭い場合の調整 */
@media (max-width: 768px) {
    .report-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
.report-btn {
    display: block;
}

}


.report-link-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* レポートダウンロードボタン本体 */
.report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.report-btn:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}


.profile-section {
    padding: 60px 0;
    background-color: #f9fafb; /* 背景を少し変えて区別 */
}

.profile-section .section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.profile-container {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-image {
    flex: 0 0 220px; /* 横幅を固定 */
    text-align: center;
}

.profile-image img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.profile-company {
    font-size: 14px;
    font-weight: bold;
}

.profile-name {
    font-size: 22px;
    font-weight: bold;
    margin-top: 5px;
}

.profile-name-en {
    font-size: 13px;
    color: #888;
}

.profile-text {
    flex: 1;
}

.profile-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5em; /* 段落間の余白 */
}
.profile-text p:last-child {
    margin-bottom: 0;
}

/* --- 専門性の証明エリア --- */
.media-proof {
    margin-top: 50px;
    text-align: center;
}

.media-proof-title {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* スマホで折り返すように */
}

.media-logos a {
    display: block;
    transition: opacity 0.3s;
}
.media-logos a:hover {
    opacity: 0.8;
}

.media-logos img {
    height: 50px; /* ロゴの高さを揃える */
    width: auto;
    max-width: 200px;
}


/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .profile-section {
        padding: 40px 0;
    }
    .profile-section .section-title {
        font-size: 22px;
    }
    .profile-container {
        flex-direction: column; /* 縦積みに変更 */
        align-items: center;
        gap: 30px;
    }
    .profile-image {
        flex-basis: auto;
        width: 180px; /* スマホでは少し小さく */
    }
    .profile-text p {
        font-size: 15px;
    }
    .media-logos {
        gap: 20px;
    }
    .media-logos img {
        height: 40px;
    }
}

.report-note{
	margin: 30px 0;
	font-weight: bold;
    color: #2e8b8b;
}


.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
}
.section-title .sub-title {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: #555;
    margin-bottom: 10px;
}
.section-title .marker {
    background: linear-gradient(transparent 60%, #a7d8d8 60%); /* #2e8b8bの薄い色 */
    padding: 0 5px;
}

/* --- 診断の流れセクション --- */
.flow-section {
    padding: 60px 0;
}
.flow-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
.flow-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}
.flow-step-icon {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #2e8b8b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 4px 15px rgba(46, 139, 139, 0.3); /* ★色変更 */
}
.flow-step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #2e8b8b; /* ★色変更 */
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    border: 2px solid #2e8b8b; /* ★色変更 */
}
.flow-step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.flow-step-desc {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}
.flow-arrow {
    font-size: 32px;
    color: #2e8b8b; /* ★色変更 */
    margin-top: 40px;
}


.form-section{
    padding: 60px 0;
}

/* --- FAQ & フォームセクション --- */
.faq-section {
    padding: 60px 0;
    background-color: #f9fafb;
}
/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}
.faq-question span {
    color: #2e8b8b; /* ★色変更 */
    margin-right: 15px;
    font-size: 20px;
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-question.open::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}
.faq-answer p {
    padding: 0 20px 20px 55px;
    font-size: 16px;
    line-height: 1.8;
    display: flex;
}
.faq-answer p span {
    color: #777;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
}

/* (フォームのCSSは変更なし) */


/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }
    .section-title .sub-title {
        font-size: 14px;
    }
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }
    .flow-step-desc {
        text-align: center;
    }


.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 50px 20px 0;
    text-align: left;
    font-size: 16px;
}
.faq-answer p {
    padding: 0 20px 20px 0;
    font-size: 14px;
}

}


.fixed-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 20px; /* PCでの左右の余白 */
    pointer-events: none; /* コンテナ自体はクリックできないように */
    opacity: 0; /* 初期状態では透明に */
    transform: translateY(100%); /* 初期状態では画面下に隠す */
    transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーションを設定 */
}


.fixed-cta-container.is-visible {
    opacity: 1; /* 不透明にする */
    transform: translateY(0); /* 元の位置に戻す */
}

.fixed-cta {
    display: flex;
    max-width: 1100px; /* コンテンツ幅に合わせる */
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    gap: 15px;
    pointer-events: auto; /* ボタンはクリックできるように */
    border-top: 1px solid #eee;
}

.cta-btn {
    flex: 1; /* 2分割 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    gap: 10px;
}

.cta-btn-primary {
    background-color: #ef4444; /* 赤 */
    color: #fff;
}
.cta-btn-primary:hover {
    background-color: #dc2626;
}

.cta-btn-secondary {
    background-color: #fff;
    color: #2e8b8b; /* ティールグリーン */
    border: 2px solid #2e8b8b;
}
.cta-btn-secondary:hover {
    background-color: #f0fafa;
}

.cta-btn i {
    font-size: 20px;
}

/* ページ最下部のフッターと重ならないように余白を追加 */
body {
    padding-bottom: 120px; /* 固定CTAの高さ分 */
}


/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .fixed-cta-container {
        padding: 0; /* スマホでは左右の余白をなくす */
    }
    .fixed-cta {
        border-radius: 0;
        padding: 10px;
        gap: 10px;
    }
    .cta-btn {
        font-size: 14px;
        flex-direction: column; /* アイコンとテキストを縦に */
        gap: 4px;
        padding: 8px;
    }
    .cta-btn i {
        font-size: 18px;
    }
    body {
        padding-bottom: 100px; /* スマホでのCTAの高さ分 */
    }
}


.company-section {
    padding: 60px 0;
    /* 背景色は白のまま */
}
.company-section .section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
}
.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table th,
.company-table td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}
.company-table th {
    background-color: #f9fafb;
    font-weight: bold;
    width: 30%;
    min-width: 120px;
}
.company-table td {
    line-height: 1.7;
    background: #fff;
}
.company-table td a {
    color: #2e8b8b;
    text-decoration: underline;
    word-break: break-all; /* URLがはみ出ないように */
}
.company-table td a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .company-section .section-title {
        font-size: 22px;
    }
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .company-table th {
        border-bottom: none;
        padding-bottom: 10px;
    }
    .company-table td {
        padding-top: 0;
    }
}


.footer {
    background-color: #f9fafb; /* 薄いグレー */
    color: #6b7280; /* 少し濃いめのグレー */
    padding: 30px 0;
    font-size: 13px;
    text-align: center;
}
.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}
.footer-nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: #111827; /* 黒に近いグレー */
    text-decoration: underline;
}


/* --- Contact Form 7 フォーム全体のスタイル --- */
.wpcf7-form {
    font-family: 'Noto Sans JP', sans-serif;
}

/* 各入力項目のブロック */
.wpcf7-form .form-item {
    margin-bottom: 25px;
}

/* ラベルのスタイル */
.wpcf7-form .form-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

/* 必須マーク */
.wpcf7-form .form-item .required {
    background-color: #ef4444;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* 入力欄（text, email, url, tel, textarea）の共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box; /* paddingを含めて幅100%にする */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* 入力欄にフォーカスした時のスタイル */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #2e8b8b; /* テーマカラー */
    box-shadow: 0 0 0 3px rgba(46, 139, 139, 0.1);
}

/* textareaのサイズ調整 */
.wpcf7-form textarea {
    resize: vertical; /* 縦方向のみリサイズ可能に */
    min-height: 120px;
}

/* 入力欄下の補足説明 */
.wpcf7-form .form-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.6;
}

/* プライバシーポリシー同意チェック */
.wpcf7-form .form-privacy-consent {
    text-align: center;
    margin: 30px 0;
}
.wpcf7-form .wpcf7-acceptance {
    display: inline-block;
}
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0; /* Contact Form 7のデフォルトマージンをリセット */
}
.wpcf7-form .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
/* チェックボックスのカスタムは複雑なので、デフォルトを使いやすく調整 */
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
.wpcf7-form .form-privacy-consent a {
    color: #2e8b8b;
    text-decoration: underline;
}
.wpcf7-form .form-privacy-consent a:hover {
    text-decoration: none;
}


/* 送信ボタンのラッパー */
.wpcf7-form .form-submit {
    text-align: center;
    margin-top: 10px;
}

/* 送信ボタン本体（LP側のスタイルを流用・上書き） */
.wpcf7-form .submit-btn {
    padding: 15px 40px;
    background-color: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    width: auto; /* 幅を自動に */
    -webkit-appearance: none; /* iOSでのデフォルトスタイルを無効化 */
}
.wpcf7-form .submit-btn:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

/* Contact Form 7のエラーメッセージ、送信完了メッセージ */
.wpcf7-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}
/* 送信完了（緑） */
.wpcf7-form .wpcf7-mail-sent-ok {
    border: 1px solid #4ade80;
    background-color: #f0fdf4;
    color: #166534;
}
/* バリデーションエラー（黄） */
.wpcf7-form .wpcf7-validation-errors {
    border: 1px solid #facc15;
    background-color: #fefce8;
    color: #854d0e;
}
/* 送信失敗（赤） */
.wpcf7-form .wpcf7-mail-sent-ng {
    border: 1px solid #f87171;
    background-color: #fef2f2;
    color: #991b1b;
}

/* 各入力欄の下に出るエラーメッセージ */
.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #ef4444;
    margin-top: 5px;
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    .wpcf7-form .form-item label,
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="url"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        font-size: 15px;
    }

    .wpcf7-form .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
}