
@charset "UTF-8";
.main-visual .main-visual-inner {
  position: relative;
  z-index: 2; /* 画像より上に表示させる */
}

.main-visual .bubble-container {
  position: relative;
  background-color: #D9A265; /* 吹き出しの背景色 */
  padding: 10px 25px;
  display: inline-block;
  margin-top: -50%;
}

.main-visual .bubble-text {
  font-size: 46px;
  font-weight: bold;
  margin: 0;
  color: white;
}

.main-visual .bubble-arrow {
  position: absolute;
  bottom: -35px; /* 下に配置 */
  left: 50%;
  transform: translateX(-50%); /* 中央配置 */
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 35px solid #D9A265; /* 吹き出しの色と同じ */
}

.main-visual .sub-text {
  font-size: 30px;
  color: #000;
  margin: 70px 0 30px;
  line-height: 1.6;
}

.main-visual .main-message {
  font-size: 45px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.main-visual .line-1 { 
  display: block; 
  margin-bottom: 15px; 
  color: #000;
}
.main-visual .line-2 { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-bottom: 20px;
  color: #000;
}

/* 緑の背景ボックス */
.main-visual .highlight-green-box {
  background-color: #25581F;
  color: #fff;
  padding: 5px 12px;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  position: relative; /* ドットの基準点 */
}

/* ドット（圏点）のスタイル */
.main-visual .dot-char {
  position: relative;
  display: inline-block;
  color: #fff;
}

/* 擬似要素で「白枠・中緑」のドットを作成 */
.main-visual .dot-char::before {
  content: "";
  position: absolute;
  top: -13px;           /* 上にはみ出す位置を調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 15px;          /* ドットの大きさ */
  height: 15px;
  background-color: #25581F; /* 中は緑 */
  border: 3px solid #fff;    /* 枠は白 */
  border-radius: 50%;
}

.main-visual .line-3 { 
  display: block;
  color: #000;
}

/* 補助：テキストの間のスペース */
.main-visual .spacer { 
  margin: 0 2px;
  color: #fff;
}

.main-visual .floating-gold {
  position: absolute;
  right: 0;           /* 右端にぴったりつける（少し空けるなら 20px 等） */
  bottom: 10%;          /* 下端にぴったりつける */
  width: 350px;       /* 画像の幅（デザインに合わせて調整） */
  height: auto;       /* 比率を維持 */
  z-index: 1;         /* 他のコンテンツとの重なり順を調整 */
  pointer-events: none; /* 画像が文字やボタンの上に来ても操作を邪魔しないようにする */
}

.sec01 .catch-copy {
  font-size: 40px;
  line-height: 1.8;
  color: #000;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

/* 1行目と2行目を分ける */
.sec01 .catch-copy .line-1,
.sec01 .catch-copy .line-2 {
  display: block;
}

/* ドットのスタイル（高値の上） */
.sec01 .dot-char {
  position: relative;
  display: inline-block;
}

.sec01 .dot-char::before {
  content: "";
  position: absolute;
  top: -0.2em; /* 文字の上の位置調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 8px;  /* ドットの大きさ */
  height: 8px;
  background-color: #000;
  border-radius: 50%;
}

/* 黄色背景：inline-blockにすることで文字幅に合わせる */
.sec01 .highlight-yellow {
  display: inline-block; 
  background-color: #FAD05C;
  padding: 0 4px;      /* 左右の余白 */
  margin: 0 2px;
  line-height: 1.3;    /* 背景の高さを文字に近づける */
  font-style: normal;
}

.sec01 .img-box img{
    width: 100%;
    max-width: 727px;
}

.sec02 .sub-text{
  font-size: 26px;
  margin: 15px 0;
  color: #000;
}

.sec02 h3{
  font-size: 32px;
  margin: 30px 0;
  color: #D24738;
}

.sec03 .container {
            margin: 0 auto;
            padding: 60px 0 0;
        }

        /* セクション共通 */
        .sec03 .case-section {
            display: flex;
            align-items: anchor-center;
            margin-bottom: 40px;
            overflow: hidden;
        }

        /* 画像エリア */
        .sec03 .case-image {
            flex: 1;
            line-height: 0;
        }

        .sec03 .case-image img {
            width: 100%;
            object-fit: cover;
            display: block;
        }

        /* テキストエリア */
        .sec03 .case-text {
            flex: 1;
            padding: 60px 45px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #000;
        }

        .sec03 .case-number {
            font-family: "Georgia", serif;
            font-size: 20px;
            color: #D0AC82; /* 金色アクセント */
            margin-bottom: 15px;
        }

        /* メインタイトル（赤字部分） */
        .sec03 .case-title {
            font-size: 40px;
            line-height: 1.4;
            color: #000; /* 画像に近い赤色 */
            font-weight: bold;
            margin-bottom: 20px;
        }

        /* 詳細内容（タイトルの下の説明文） */
        .sec03 .case-description {
            font-size: 24px;
            line-height: 1.8;
            color: #000;
        }

        /* --------------------------------------------------
           ★ 交互に反転させる設定 (PC時)
        -------------------------------------------------- */
        .sec03 .case-section:nth-child(even) {
            flex-direction: row-reverse;
        }

        /* --------------------------------------------------
           ★ レスポンシブ設定 (780px以下)
        -------------------------------------------------- */
        @media screen and (max-width: 780px) {
            .sec03 .case-section, 
            .sec03 .case-section:nth-child(even) {
                flex-direction: column; /* 全て縦並び */
            }

            .sec03 .case-text {
                padding: 40px 20px;
            }

            .sec03 .case-image {
                width: 100%;
                order: -1; /* 画像を常に上に */
            }
        }

        .sec04 .text-box{
          max-width: 960px;
          margin: 0 auto 80px;
        }

        /* 「そこで！」の吹き出し */
        .sec04 .balloon {
            display: inline-block;
            position: relative;
            background: #D9A265; /* ベージュ・オレンジ系の色 */
            color: #fff;
            font-size: 32px;
            font-weight: bold;
            padding: 10px 15px;
            margin-bottom: 15px;
        }

        /* 吹き出しの三角部分 */
        .sec04 .balloon::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 30px; /* 左寄せの三角形 */
            margin-left: -10px;
            border: 10px solid transparent;
            border-top: 12px solid #D9A265;
        }

        /* メインメッセージテキスト */
        .sec04 .solution-message {
            font-size: 32px;
            line-height: 1.8;
            color: #000;
            font-weight: 500;
        }

        /* 小さなルビ（いなおし） */
        .sec04 .small-ruby {
            font-size: 20px;
            vertical-align: middle;
            margin: 0 2px;
        }

        /* 黄色いマーカー */
        .sec04 .marker {
            background: linear-gradient(transparent 0%, #FAD05C 0%);
            font-weight: bold;
            padding: 0 2px;
        }

        .sec04 .img-box{
          margin: 60px 0;
        }
        .sec04 .img-box img{
          width: 100%;
          max-width: 960px;
        }

        .sec04 .img-box02{
          margin: 20px 0 0;
        }
        .sec04 .img-box02 img{
          width: 100%;
          max-width: 960px;
          margin: 15px 0 0;
        }
        .sec09 .img-box{
          margin: 60px 0;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-around;
          gap: 50px;
        }
        .sec09 .img-box img{
          width: 45%;
        }

/* 中央寄せのコンテナ */
.sec08 .qa-container {
  max-width: 900px;
  margin: 60px auto;
}

/* 各質問の親要素 */
.sec08 .qa-item {
  border-bottom: 1px dotted #ccc; /* 区切り点線 */
  margin-bottom: 0;
  overflow: hidden;
}

/* 質問（クリックエリア） */
.sec08 .qa-question {
  display: flex;
  align-items: center;
  padding: 30px 60px 30px 0; /* 右側のアイコン分、余白を確保 */
  cursor: pointer;
  position: relative;
  margin: 0;
}

/* Qのアイコン */
.sec08 .q-icon {
  font-weight: bold;
  font-size: 26px;
  margin-right: 30px;
  /* Qだけは画像に合わせて少し力強いフォントに */
  font-family: "Helvetica Neue", Arial, sans-serif;
  flex-shrink: 0;
}

/* 質問文 */
.sec08 .q-text {
  margin: 0;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}

/* 右側の開閉アイコン（茶系の背景） */
.sec08 .toggle-icon {
  width: 46px;
  height: 46px;
  background-color: #9a7d7a; /* 添付画像のピンクベージュ色 */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

/* ＋アイコンの線（共通） */
.sec08 .toggle-icon::before,
.sec08 .toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #fff;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* 横棒 */
.sec08 .toggle-icon::before {
  width: 20px;
  height: 2px;
}

/* 縦棒 */
.sec08 .toggle-icon::after {
  width: 2px;
  height: 20px;
}

/* 回答エリアの初期状態（隠す） */
.sec08 .qa-answer {
  display: flex; /* Aとテキストを横並びにするため */
  align-items: flex-start;
  margin: 0;
  padding: 0 60px 0 0; /* Qと左右を揃える */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

/* Aのアイコン */
.sec08 .a-icon {
  color: #9a7d7a; /* Q&A共通のアクセントカラー */
  font-weight: bold;
  font-size: 26px;
  margin-right: 30px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  flex-shrink: 0;
}

/* 回答文 */
.sec08 .a-text {
  margin: 0;
  font-size: 24px;
  line-height: 1.8;
  color: #000;
  flex: 1;
}

/* -------------------------------------------
   JavaScriptで .active クラスがついた時のスタイル
------------------------------------------- */

/* アイコン：＋を×にする */
.sec08 .qa-item.active .toggle-icon::before {
  transform: rotate(45deg);
}
.sec08 .qa-item.active .toggle-icon::after {
  transform: rotate(45deg);
}

/* 回答を表示する */
.sec08 .qa-item.active .qa-answer {
  max-height: 600px; /* 十分な高さを確保（テキスト量に応じて） */
  opacity: 1;
  padding-bottom: 40px; /* 開いた時の下の余白 */
}

/* ホバー時に少しアイコンを明るく（任意） */
.sec08 .qa-question:hover .toggle-icon {
  filter: brightness(1.1);
}

@media (max-width: 780px) {
  .sec08 .q-icon, .sec08 .a-icon {
    margin-right: 15px;
    font-size: 22px;
  }
  .sec08 .q-text, .sec08 .a-text {
    font-size: 18px;
  }
  .sec08 .toggle-icon {
    width: 36px;
    height: 36px;
  }
}

        /* レスポンシブ対応 (スマホ時) */
        @media screen and (max-width: 780px) {
.main-visual .main-visual-inner {
    padding: 15px;
}
.main-visual .bubble-container {
    margin-top: 15%;
}
.main-visual .bubble-arrow {
    bottom: -19px;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #D9A265;
}
.main-visual .bubble-text {
  font-size: 26px;
}
.main-visual .sub-text {
    font-size: 18px;
    color: #000;
    margin: 35px 0 15px;
    line-height: 1.6;
}
.main-visual .main-message {
    font-size: 20px;
    margin-bottom: 0px;
}
.main-visual .line-1,
.main-visual .line-2 {
  margin-bottom: 10px;
}

.main-visual .line-3 {
  margin-bottom: 20px;
}

.main-visual .dot-char::before {
    width: 12px;
    height: 12px;
}

.sec01 .catch-copy {
    font-size: 23px;
    line-height: 1.8;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.sec02 .sub-text {
    font-size: 18px;
    margin: 10px 0;
}
.sec02 h3 {
    font-size: 20px;
    margin: 16px 0;
}
.sec03 .case-number {
    font-size: 14px;
    color: #D0AC82;
    margin-bottom: 10px;
}
.sec03 .case-title {
    font-size: 20px;
    margin-bottom: 10px;
}
.sec03 .case-description {
    font-size: 18px;
    line-height: 1.8;
    color: #000;
}
            .sec04 .solution-section {
                margin: 50px auto;
            }
            .sec04 .solution-message {
                font-size: 20px;
                text-align: left; /* スマホでは左寄せが見やすい場合が多い */
                display: inline-block;
            }
            .sec04 .balloon {
                font-size: 20px;
            }

.sec09 .img-box {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}
.sec09 .img-box img {
    width: 100%;
}
        }
