body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, blockquote,
input, textarea, button {
  font-family: "Noto Sans JP", sans-serif !important;
  color: #111;
}


    section {
      padding: 60px 20px;
    }
    .section-bg {
      background-color: #fff7f0;
    }
    .section-clear {
      background-color: #ffffff;
    }
    .container {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

#section1 {
  text-align: center;
  color: #fff;
  background-color: #fefbf6;
  background-image: url('https://mouse-webdesign.com/wp2025/wp-content/uploads/lp/wave.svg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  animation: waveGradient 20s ease-in-out infinite;
}

@keyframes waveGradient {
  0%   { background-position: 40% 100%; }
  50%  { background-position: 60% 100%; }
  100% { background-position: 40% 100%; }
}


#section1 p{
  font-size: 18px;
  line-height: 1.8;
  color: #111;
  font-weight:bold;
  padding:20px 0 20px 0;
}

#section1 p.trust-msg{
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  font-weight:bold;
}

    h2 {
      font-size: 2.2em;
      margin-bottom: 20px;
      line-height: 1.4;
      font-weight: 700;
    }
    h2 .emphasis {
      color: #d97344;
    }
    .hero-image {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      margin-bottom: 30px;
    }
    .lead {
      font-size: 1.1em !important;
      line-height: 2;
      font-weight:500 !important;
      margin-bottom: 40px;
      color: #111;
    }
    .cta {
      display: inline-block;
      background-color: #e87c3d;
      color: #fff;
      padding: 18px 40px;
      border-radius: 32px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: background-color 0.3s ease;
    }
    .cta:hover {
      background-color: #d8682f;
      color: #fff;
    }
    .problems {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 60px;
      margin-top: 40px;
    }
    .problem-item {
      display: flex;
      align-items: center;
      text-align: left;
      gap: 16px;
      width: 340px;
      font-size: 1em;
    }
    .problem-item img {
      width: 36px;
      height: 36px;
    }
.problem-note {
  margin-top: 40px;
  font-size: 1em;
  color: #444;
}

.problems-section {
  padding: 100px 5%;
}

.problems-section.set1 {
  background-color: #f5f5f5;
}

.problems-section.set2 {
  background-color: #e0f7fa;
}

.problems-section.set3 {
  background-color: #fff8e1;
}


.problems-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.problems-section h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 常に2列 */
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 60px;
}
@media (max-width: 900px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットで2列 */
  }
}

@media (max-width: 600px) {
  .problems-grid {
    grid-template-columns: 1fr; /* スマホでは1列 */
  }
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border: 2px solid #000;
  background: #fff;
  box-shadow: 4px 4px 0 #000;
  margin-bottom: 20px;
}

.icon {
  width: 50px;
  text-align: center;
  font-size: 2.0rem;
  color: #333;
  margin-top: 15px;
}

.text h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: bold;
}

.text p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.text-area {
  flex: 1;
}

.main-text {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5em;
}

.sub-text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  font-weight: 500;
}

.about-us {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.about-image {
  flex: 1 1 380px;
  text-align: center;
  position: relative;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.founded-year {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #555;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  display: inline-block;
  margin: 0 auto;
  width: fit-content;
}

.about-text {
  flex: 1 1 400px;
}

.about-text ul {
  font-size: 1em;
  line-height: 2;
  margin-top: 1em;
  padding-left: 1.2em;
}


.marker {
  font-size: 1.2rem;
  background-color: rgba(255, 255, 0, 0.5); /* 半透明の黄色 */
  padding: 0.2em 0.1em;
  border-radius: 0.2em;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-blend-mode: multiply;
}



@media screen and (max-width: 768px) {
  .about-us {
    flex-direction: column;
  }
  .founded-year {
    position: static;
    margin-top: 10px;
  }
}

.case-wrapper {
  background-image: url('grid-pattern.gif'); /* 方眼紙背景：軽量なSVG推奨 */
  background-repeat: repeat;
  background-color: #fdfdfd;
  padding: 4em 1em 10em 1em;
}

.case-inner {
  max-width: 800px;
  margin: 0 auto;
}

.case-intro {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 2em;
  margin-top: 2em; /* 上下にゆったり余白 */
  text-align: center;
}

.case-box {
  border: 2px solid #000;
  padding: 2em;
  background-color: #fff;
  box-shadow: 3px 3px 0 #000; /* チャキチャキ感 */
}

.case-box ul {
  padding-left: 1.2em;
  list-style-type: disc;
  line-height: 1.8;
}

.case-box li {
  font-size: 1.1em;
  margin-bottom: 0.8em;
}

.case-box .disclaimer {
  font-size: 0.9em;
  margin: 2em auto 0;
  color: #555;
  text-align: center;
  max-width: 80%;
  line-height: 1.6;
}

/* セクションでイラストをはみ出させる準備 */
.price-section {
  position: relative;
  overflow: visible;s
  padding-bottom: 140px; 
}

/* イラストの位置調整（右寄り & はみ出し） */
.price-illust {
  position: absolute;
  bottom: -100px; /* セクション下からはみ出す量（要調整） */
  left: 70%;     /* ちょい右寄せ */
  transform: translateX(-40%);
  width: 380px;
  opacity: 0.95;
  pointer-events: none;
}

.price-illust img {
  width: 100%;
  height: auto;
}

.price-steps-box {
  border: 2px solid #333;
  padding: 1.5em;
  max-width: 600px;
  margin: 2em auto;
  background: #fff;
  font-size: 1em;
  line-height: 2;
}

.price-steps-box ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0;
  text-align:left;
}

.section-clear h3 {
  margin: 2em 0;
  font-size: 1.5em;
  color: #0077aa;
  text-align:left;
}
.section-clear h3 i {
  font-size: 1.7em;
  vertical-align: baseline;
  padding-right:10px;
}

dl.faq dt {
  font-weight: bold;
  margin-top: 1.8em;
  line-height: 1.6;
  text-align:left;
  font-size: 1.2em;
  color: #111;
}

dl.faq dd {
  margin-left: 1em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  line-height: 1.8;
  text-align:left;
  font-size: 1.2em;
  color: #333;
}

a.glossary-link {
  text-decoration: none;
  margin-left: 2px;
  cursor: pointer;
  color: red;
}

a.glossary-link:hover {
  text-decoration: underline;
}


.section-glossary {
  background: #f9f9f9;
  padding: 60px 20px;
  margin-top: 60px;
}

.section-glossary h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #333;
  text-align: left;
}

.glossary-list dt {
  font-weight: bold;
  margin-top: 20px;
  font-size: 1.1em;
  color: #222;
  text-align:left;
}

.glossary-list dd {
  margin-left: 1em;
  margin-bottom: 10px;
  color: #444;
  text-align:left;
}


@media (max-width: 768px) {
  .price-illust {
    left: 50%; /* 画面中央寄せ */
    transform: translateX(-50%);
    width: 220px; /* 幅を狭くする（お好みで調整） */
    bottom: -60px; /* はみ出し量も調整 */
  }
}

/* 目次ボタン */
.toc-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #333;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* 目次パネル（非表示時） */
.toc-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  z-index: 9998;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  overflow-y: auto;
}

.toc-panel.open {
  display: block;
}

/* 閉じるボタン */
.toc-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  border: none;
  background: none;
  cursor: pointer;
}

/* パネル内リンク */
.toc-panel nav ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.toc-panel nav li {
  margin-bottom: 14px;
}

.toc-panel nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* スマホでは目次ボタンとパネルを非表示にする場合 */
@media (max-width: 767px) {
  .toc-toggle {
    bottom: 16px;
    right: 16px;
    font-size: 13px;
  }
}

.hero-img {
  width: 900px;
  margin: 0 auto;
  height: auto;
  display: block;
  margin-bottom: 1.5rem; /* 例えば24pxの余白 */
}


.msg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 強制2列 */
  gap: 20px;
  margin-bottom: 40px;
  max-width: 900px;  /* PC時に広がる余地を作る */
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.msg-img {
  width: 100%;
  height: auto;
  text-align: center;
}
/* 全体のフォーム調整 */
.wpcf7-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

/* ラベルっぽいテキスト（pタグ） */
.wpcf7-form p {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  font-size:1.4em;
  text-align:left;
}

/* 入力フィールド共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-family: inherit;
}

/* セレクトボックスも統一感 */
.wpcf7-select {
  appearance: none;
  background-color: #f9f9f9;
}

/* テキストエリア調整 */
.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9 !important;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-family: inherit;
}

/* 送信ボタン */
.wpcf7-submit {
  background-color: #00bcd4;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.wpcf7-submit:hover {
  background-color: #0097a7;
}

.custom-footer {
  background-color: #f8f8f8; /* 淡いグレー系 */
  color: #333;
  padding: 40px 20px;
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
  border-top: 1px solid #ddd;
}

.footer-container {
  max-width: 960px;
  margin: 0 auto;
}

.custom-footer a {
  color: #005580;
  text-decoration: none;
}

.custom-footer a:hover {
  text-decoration: underline;
}


/* 初期状態：両方とも非表示にしない（PC表示） */
.for-pc {
  display: block;
}
.for-sp {
  display: none;
}

/* スマホ表示（～767px） */
@media screen and (max-width: 767px) {
  .for-pc {
    display: none !important;
  }
  .for-sp {
    display: block !important;
  }
}

/* カードグリッド */
@media (max-width: 768px) {
  .msg-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

/* タブレット向け（横幅 1024px 以下） */
@media (max-width: 1024px) {
  #section1 {
    background-image: url('https://mouse-webdesign.com/wp2025/wp-content/uploads/lp/wave-tablet.svg');
  }
}

/* スマホ向け（横幅 768px 以下） */
@media (max-width: 768px) {
  #section1 {
    background-image: url('https://mouse-webdesign.com/wp2025/wp-content/uploads/lp/wave-sp.svg');
  }
}

/* 小型スマホ向け（横幅 480px 以下） */
@media (max-width: 480px) {
  #section1 {
    background-image: url('https://mouse-webdesign.com/wp2025/wp-content/uploads/lp/wave-sp.svg');
  }
}
