/* ========================================
   こんなことでお悩みではございませんか？
======================================== */

.home-trouble {
  padding: 80px 20px;
  background: #fff;
}

.home-trouble .inner {
  max-width: 1000px;
  margin: 0 auto;
}


/* 見出し
---------------------------------------- */

.trouble-heading {
  margin-bottom: 40px;
  text-align: center;
}

.trouble-en {
  margin-bottom: 8px;
  color: #b89756;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.15em;
}

.trouble-heading .cmn-heading {
  margin: 0;
}

.trouble-heading .jp {
  color: #4a433b;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.trouble-lead {
  margin-top: 15px;
  color: #777;
  font-size: 14px;
  line-height: 1.8;
}


/* タブ全体
---------------------------------------- */

.trouble-wrap {
  max-width: 960px;
  margin: 0 auto;
}


/* タブ
---------------------------------------- */

.trouble-tab {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trouble-tab li {
  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100% / 6);
  min-height: 65px;
  padding: 10px 5px;

  box-sizing: border-box;

  border-top: 1px solid #ded4c5;
  border-right: 1px solid #ded4c5;
  border-bottom: 1px solid #ded4c5;

  background: #f7f3ec;
  color: #6c645b;

  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 14px;
  font-weight: 600;
  text-align: center;

  cursor: pointer;

  transition: 0.3s;
}

.trouble-tab li:first-child {
  border-left: 1px solid #ded4c5;
}

.trouble-tab li:hover {
  background: #efe5d4;
}

.trouble-tab li.active {
  position: relative;
  background: #c5a05a;
  color: #fff;
}

.trouble-tab li.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #c5a05a;

  transform: translateX(-50%);
}


/* 切り替え内容
---------------------------------------- */

.trouble-content {
  display: none;

  padding: 50px 70px;

  box-sizing: border-box;

  border-right: 1px solid #ded4c5;
  border-bottom: 1px solid #ded4c5;
  border-left: 1px solid #ded4c5;

  background: #fff;
}

.trouble-content.active {
  display: block;
}


/* 内容タイトル
---------------------------------------- */

.trouble-title {
  margin-bottom: 25px;

  color: #4a433b;

  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
}


/* お悩み一覧
---------------------------------------- */

.trouble-list {
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.trouble-list li {
  position: relative;

  padding: 16px 10px 16px 40px;

  border-bottom: 1px dotted #d5c9b7;

  color: #554e46;
  font-size: 15px;
  line-height: 1.7;
}

.trouble-list li:first-child {
  border-top: 1px dotted #d5c9b7;
}

.trouble-list li::before {
  content: "✓";

  position: absolute;
  top: 50%;
  left: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border: 1px solid #c5a05a;
  border-radius: 50%;

  color: #b48c45;
  font-size: 11px;

  transform: translateY(-50%);
}


/* ボタン
---------------------------------------- */

.trouble-btn {
  margin-top: 35px;
  text-align: center;
}

.trouble-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 360px;
  min-height: 55px;
  padding: 10px 55px 10px 30px;
  box-sizing: border-box;
  border: 1px solid #c5a05a;
  background: #c5a05a;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 8px;
}

.trouble-btn a::after {
  content: "→";

  position: absolute;
  top: 50%;
  right: 22px;

  transform: translateY(-50%);
}

.trouble-btn a:hover {
  background: #fff;
  color: #b48c45;
}

.trouble-more {
  margin-top: 35px;
  text-align: center;
}


/* ========================================
   SP
======================================== */

@media screen and (max-width: 1024px) {

  .home-trouble {
    padding: 55px 15px;
  }


  /* 見出し */

  .trouble-heading {
    margin-bottom: 30px;
  }

  .trouble-heading .jp {
    font-size: 23px;
  }

  .trouble-lead {
    font-size: 13px;
  }


  /* タブ */

  .trouble-tab {
    overflow-x: auto;
    padding-bottom: 5px;

    -webkit-overflow-scrolling: touch;
  }

  .trouble-tab li {
    flex: 0 0 125px;
    width: 125px;
    min-height: 55px;

    font-size: 12px;
  }

  .trouble-tab li.active::after {
    display: none;
  }


  /* 内容 */

  .trouble-content {
    margin-top: 5px;
    padding: 30px 20px;

    border-top: 1px solid #ded4c5;
  }

  .trouble-title {
    margin-bottom: 20px;

    font-size: 16px;
    text-align: left;
  }


  /* 一覧 */

  .trouble-list li {
    padding: 13px 5px 13px 35px;

    font-size: 13px;
  }

  .trouble-list li::before {
    left: 3px;
  }


  /* ボタン */

  .trouble-btn {
    margin-top: 25px;
  }

  .trouble-btn a {
    width: 100%;
    min-width: 0;
    min-height: 52px;

    padding: 10px 45px 10px 15px;

    font-size: 14px;
  }
}

.sp-menu-caption{
  display: none;
}

@media screen and (max-width:599px) {
.sp-menu-caption{
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
}
}
