.main-content {
   padding-top: 100px; /* ヘッダーの高さに合わせて調整 */ 
}
/* ページ全体の中央寄せ（利用規約・プライバシーポリシー用） */
.container {
  max-width: 900px;   /* 読みやすい幅 */
  margin: 0 auto;     /* 中央寄せ */
  padding: 0 20px;    /* スマホで左右に余白 */
}
.txt_3 {
  margin-left: 0;
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  text-align: center; /* 中央寄せしたいなら */
}
/* 利用規約・プライバシーポリシーの本文全体を中央寄せ */
.terms-body {
  max-width: 800px;   /* 読みやすい幅 */
  margin: 0 auto;     /* 中央寄せの決め手 */
  line-height: 1.9;
  font-size: 16px;
  color: #333;
}
/* セクション見出し（h3） */
.terms-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #222;
}

/* 小見出し（h4） */
.terms-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #444;
}

/* 段落 */
.terms-body p {
  margin-bottom: 20px;
}

/* 箇条書き */
.terms-body ul {
  margin: 10px 0 20px 20px;
  padding-left: 20px;
}

.terms-body ul li {
  margin-bottom: 8px;
}

/* 中央寄せしたい部分 */
.center-text {
  text-align: center;
}

/* 強調したい部分 */
.bold {
  font-weight: 700;
}


 /* ← カンパニーページ */
.company-page {
  padding-top: 100px; /* ヘッダーの高さに合わせて調整 */
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border: 1px solid #ccc; /* ← これが外枠の黒線 */
}

.company-table th,
.company-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}

.company-table th {
  background-color: #f5f5f5;
  width: 160px;
  font-weight: bold;
}

.company-table ul {
  margin: 0;
  padding-left: 20px;
}

.map-frame {
  margin-top: 20px;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.company-news {
  margin-bottom: 40px;
}

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

.news-list li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.news-date {
  font-weight: bold;
  color: #555;
}


 /* ← 無料相談ページ */
.contact-form-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-note {
  text-align: center;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.required-mark {
  color: red;
  font-size: 0.9em;
  margin-left: 4px;
}

.submit-btn {
  background-color: #f5b400;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
}

.submit-btn {
  display: inline-block;
  margin-top: 20px;
}

/* 送信後ページ */
.thanks-page {
  text-align: center;
  padding: 80px 20px;
}

.thanks-message {
  font-size: 1.2em;
  margin: 20px 0 40px;
  line-height: 1.8;
}

.thanks-btn-wrap {
  text-align: center;
}

.thanks-btn-wrap .submit-btn {
  display: inline-block;
  padding: 12px 24px;
}

/* 個別ページ全体 */
.lesson-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

/* タイトル */
.lesson-header {
  margin-bottom: 40px;
  text-align: center;
}
/* 赤を打ち消す */
.lesson-header, .lesson-page {
   background: none !important; 
  }

/* 動画 */
.lesson-video {
  margin-bottom: 40px;
}

.lesson-video-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.lesson-video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 解説文 */
.lesson-content {
  background: #f2f2f2; /* グレー背景 */
  padding: 5px 30px 20px;
  border-radius: 12px;
}

.lesson-content-title {
  display: block;
  width: fit-content;           /* ← 文字幅に合わせる */
  margin: 20px auto 0px;          /* ← 中央寄せ */
  background: #363636;
  color: #fff;
  padding: 3px 30px;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.lesson-text {
  font-size: 1.1rem;
  line-height: 1.9;
  font-weight: 900; /* ← 太文字900 */
  white-space: pre-line;
  margin: 0px;  
}

/* 冒頭：中央・極太・大きい文字 */
.intro {
  text-align: center;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* 中段の白角丸ボックス */
.box {
  font-weight: 600;
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 影はお好みで */
}


/* 最後：赤太字（サイズは普通） */
.highlight {
  text-align: center;
  color: #d60000;
  font-weight: 900;
  font-size: 1rem;
}


.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



.breadcrumb {
  margin-top: 100px; /* ヘッダーの高さに合わせて調整 */
  position: relative;
  z-index: 10;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
}

.breadcrumb a {
  color: #007acc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* タイトルカラー */
.lesson-title_red {
  display: inline-block;
  background: #D9383E;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_red_2 {
  display: inline-block;
  background: #D9383E;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_blue {
  display: inline-block;
  background: #0078FF;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_green {
  display: inline-block;
  background: #00A340;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_black {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_black_big {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_orange {
  display: inline-block;
  background: #FF6600;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-title_pink {
  display: inline-block;
  background: #FF0082;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px; /* ← 角丸 */
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ============================
   lesson-title 系（スマホ）
   ============================ */
@media screen and (max-width: 768px) {
  .lesson-title_red,
  .lesson-title_blue,
  .lesson-title_green,
  .lesson-title_black,
  .lesson-title_orange,
  .lesson-title_pink {
    font-size: 1rem !important;
    padding: 6px 14px !important;
    border-radius: 999px;
  }
}

@media screen and (max-width: 768px) {
.lesson-content-title {
  display: block;
  width: fit-content;           /* ← 文字幅に合わせる */
  margin: 20px auto 0px;          /* ← 中央寄せ */
  background: #363636;
  color: #fff;
  padding: 3px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
}

/* ← ノウハウページ */
/* 個別ページ全体 */
.lesson-page_2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}
.wide-only-here {
    max-width: 1200px;
    margin: 0 auto;
    
}

.wide-only-here .desc.box {
    max-width: 100%;
}

.lesson-header_2 {
  position: relative !important;
  top: auto !important;
  background: black !important; 
  text-align: center;
}

.lesson-title_how {
  position: static !important;
  top: auto !important;
  text-align: center;
  display: inline-block;
  color: #fff;
  padding: 12px 24px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

/* how-to記事専用：右側の挿絵ボックス */
.how-to-side-image {
    float: right;
    width: 60%;
    max-width: 600px;
    margin: 20px;
}

.how-to-side-image-inner {
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #eee;
    position: relative;
    overflow: hidden; /* ← これ重要 */
    margin-top: 16px;
}

.how-to-side-image-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← 枠にフィットさせる */
}

.how-to-subtitle {
    display: inline-block;
    margin-left: auto; 
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #000;
    padding: 12px 24px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.clear-fix {
    clear: both;
}

.howto-graybox::after {
  content: "";
  display: block;
  clear: both;
}

.how-to-red {
    display: inline; /* ← これで改行しない */
    font-family: "Noto Sans JP", sans-serif;
    /* 別書体 */
    color: #D9383E;
    /* ← 赤 */
    font-weight: 900;
    /* ← 少し太く（任意） */
    font-size: 1rem;
    /* ← 読みやすいサイズ */
     margin-top: 0.1rem;
}

.how-to-blue {
    color: #0078FF;
    display: inline; /* ← これで改行しない */
    font-family: "Noto Sans JP", sans-serif;
    /* 別書体 */
    /* ← 赤 */
    font-weight: 900;
    /* ← 少し太く（任意） */
    font-size: 1rem;
    /* ← 読みやすいサイズ */
     margin-top: 0.1rem;
}

.howto-graybox {
  background: #f2f2f2; /* グレー背景 */
  padding: 30px 30px 20px;
  border-radius: 12px;
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.1rem;
}

