/* ============================================================
   老犬介護ハピネス – thoughts.css（ハピネスの想い ページ専用）
   PC-first / breakpoints: 1200px, 960px, 568px
   共通の変数・リセットは common.css を継承して使用する
   ============================================================ */

/* --------------------------------------------------
   PAGE BASE
-------------------------------------------------- */
.thoughts_page {
  overflow: hidden;
}

/* --------------------------------------------------
   HERO
   hero自体の position/margin-top/overflow、波(::after)、
   label・titleの基本フォントは common.css の .page_hero* 側を使用。
   このページは背景写真・光彩・ハート・バッジ・リード文が独自のため、
   .thoughts_hero_inner は .page_hero_inner を使わず独自構造のままにしている。
-------------------------------------------------- */
.thoughts_hero {
  height: 480px;
  background: #c4c4c4;
}

.thoughts_hero_bg {
  position: absolute;
  inset: 0;
  background: url('../img/thoughts/thoughts_hero_bg.png') no-repeat center top / cover;
}

.thoughts_hero_bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 54, 48, 0.15) 0%, rgba(61, 54, 48, 0) 40%);
}

.thoughts_hero_inner {
  position: relative;
  z-index: 2;
  max-width: var(--inner-w);
  margin-inline: auto;
  padding: 70px 20px 0;
}

/* 光彩：テキストを見やすくする背景のぼかし光 */
.thoughts_hero_inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 762px;
  height: 253px;
  left: 0;
  top: 50%;
  transform: translateY(-30%);
  background: rgba(255, 255, 255, 0.8);
  filter: blur(60px);
  pointer-events: none;
}

.thoughts_hero_label {
  padding: 6px 18px;
  border-radius: 999px;
}

.thoughts_hero_title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.thoughts_hero_heart {
  flex-shrink: 0;
}

.thoughts_hero_badge {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0;
  text-align: left;
}

.thoughts_hero_badge_text {
  display: inline-block;
  background: var(--color-pink);
  color: var(--color-white);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  padding: 12px 24px;
}

@media only screen and (min-width: 481px) {
  .thoughts_hero_badge_text:first-child {
    padding-right: 0;
  }

  .thoughts_hero_badge_text:last-child {
    padding-left: 0;
  }
}

@media only screen and (max-width: 480px) {
  .thoughts_hero_badge_text ~ .thoughts_hero_badge_text {
    margin-top: 8px;
  }
}

.thoughts_hero_lead {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.7;
  color: var(--color-text);
}

@media only screen and (max-width: 1200px) {
  .thoughts_hero {
    height: 430px;
  }

  .thoughts_hero_inner {
    padding-top: 130px;
  }

  .thoughts_hero_inner::before {
    width: 640px;
    height: 212px;
    left: -136px;
    top: -26px;
  }

  .thoughts_hero_heart {
    width: 23px;
    height: 28px;
  }

  .thoughts_hero_badge_text {
    font-size: 19px;
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 960px) {
  .thoughts_hero {
    height: 380px;
  }

  .thoughts_hero_inner {
    padding-top: 110px;
  }

  .thoughts_hero_inner::before {
    width: 480px;
    height: 160px;
    left: -80px;
    top: -20px;
  }

  .thoughts_hero_heart {
    width: 19px;
    height: 23px;
  }

  .thoughts_hero_badge {
    margin-bottom: 16px;
  }

  .thoughts_hero_badge_text {
    font-size: 17px;
    padding: 9px 18px;
  }

  .thoughts_hero_lead {
    font-size: 15px;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_hero {
    height: auto;
  }
  .thoughts_hero_lead{
    display: none;
  }
  .thoughts_hero_bg {
    background-image: url('../img/thoughts/thoughts_hero_bg_sp.png');
    background-size: cover;
  }

  .thoughts_hero_inner {
    padding: 25px 16px 40px;
  }

  .thoughts_hero_inner::before {
    width: 320px;
    height: 110px;
    left: -30px;
    top: -14px;
  }

  .thoughts_hero_label {
    padding: 5px 14px;
  }

  .thoughts_hero_title {
    font-size: 30px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .thoughts_hero_heart {
    width: 25px;
    height: 28px;
  }

  .thoughts_hero_badge {
    margin-bottom: 14px;
  }

  .thoughts_hero_badge_text {
    font-size: 20px;
    padding: 2px 10px;
  }

  .thoughts_hero_lead {
    font-size: 14px;
  }
}

/* --------------------------------------------------
   SECTION COMMON
-------------------------------------------------- */
.thoughts_sec {
  position: relative;
  padding: 90px 0;
}

.thoughts_sec_layout {
  display: flex;
  align-items: center;
  gap: 90px;
}

.thoughts_sec_img {
  position: relative;
  flex: 1 1 46%;
  max-width: 520px;
}

.thoughts_sec_img img {
  width: 100%;
  height: auto;
  display: block;
}

.thoughts_sec_text {
  flex: 1 1 50%;
}

.thoughts_sec_title {
  margin-bottom: 24px;
  line-height: 0;
}

.thoughts_sec_title img {
  max-width: 100%;
  height: auto;
}

.thoughts_sec_body {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.thoughts_sec_body + .thoughts_sec_body {
  margin-top: 20px;
}

.thoughts_sec_quote {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-pink);
  margin: 6px 0;
}

/* 悩みリスト（知ることが、心の余裕をつくる。セクション） */
.thoughts_worry_list {
  margin-bottom: 24px;
  padding: 0;
}

.thoughts_worry_list li {
  position: relative;
  padding-left: 22px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.thoughts_worry_list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* 写真まわりの装飾ドット */
.thoughts_dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(31, 68, 43, 0.12);
  pointer-events: none;
}

.thoughts_dot--teal {
  width: 40px;
  height: 40px;
  background: var(--color-teal);
}

.thoughts_sec--know .thoughts_dot--teal {
  top: -16px;
  left: 28px;
  bottom: auto;
  right: auto;
}

@media only screen and (max-width: 1200px) {
  .thoughts_sec {
    padding: 72px 0;
  }

  .thoughts_sec_layout {
    gap: 56px;
  }

  .thoughts_sec_body,
  .thoughts_worry_list li {
    font-size: 15px;
    text-align: left;
  }
}

@media only screen and (max-width: 960px) {
  .thoughts_sec {
    padding: 60px 0;
  }

  .thoughts_sec_layout {
    flex-direction: column;
    gap: 36px;
  }

  .thoughts_sec_img {
    max-width: 380px;
    width: 100%;
    margin-inline: auto;
  }

  .thoughts_sec_text {
    width: 100%;
    text-align: center;
  }

  .thoughts_sec--cute .thoughts_sec_img {
    order: 1;
  }

  .thoughts_sec--cute .thoughts_sec_text {
    order: 2;
  }

  .thoughts_sec_title {
    display: flex;
    justify-content: flex-start;
  }

  .thoughts_worry_list {
    display: inline-block;
    text-align: left;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_sec {
    padding: 48px 0;
  }
  .thoughts_sec_quote {
    font-size: 17px;
  }
  .thoughts_sec_layout {
    gap: 28px;
  }

  .thoughts_sec_title {
    margin-bottom: 18px;
  }

  #near-heading img {
    width: 70%;
  }

  .thoughts_dot--teal {
    width: 28px;
    height: 28px;
  }
}

/* --------------------------------------------------
   SECTION: 想いをもっと近くに。
-------------------------------------------------- */
.thoughts_sec--near {
  background: var(--color-bg);
  padding-bottom: 150px;
}

.thoughts_sec--near::before {
  content: '';
  position: absolute;
  right: 4%;
  bottom: 70px;
  width: 157px;
  height: 349px;
  background: url('../img/common/beige-leaf02.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}

.thoughts_sec--near::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: url('../img/common/wave_green_top.png') no-repeat center / 100% 100%;
  pointer-events: none;
}

.thoughts_sec--near .sec_inner {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 1200px) {
  .thoughts_sec--near {
    padding-bottom: 120px;
  }

  .thoughts_sec--near::after {
    height: 65px;
  }
}

@media only screen and (max-width: 960px) {
  .thoughts_sec--near {
    padding-bottom: 96px;
  }

  .thoughts_sec--near::before {
    width: 90px;
    height: 175px;
  }

  .thoughts_sec--near::after {
    height: 55px;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_sec--near {
    padding-bottom: 72px;
  }

  .thoughts_sec--near::before {
    display: none;
  }

  .thoughts_sec--near::after {
    height: 40px;
  }
}

/* --------------------------------------------------
   SECTION: おじいワン・おばあワンは、かわいい
-------------------------------------------------- */
.thoughts_sec--cute {
  background: url('../img/common/green-leaf01.png') no-repeat left 3% bottom 0 / 222px 325px, var(--color-teal-light);
}

@media only screen and (max-width: 960px) {
  .thoughts_sec--cute {
    background-position: left 3% bottom 0;
    background-size: 100px 180px;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_sec--cute {
    background-image: none;
    padding: 30px 0 0px;
  }
}

/* --------------------------------------------------
   SECTION: 知ることが、心の余裕をつくる。
-------------------------------------------------- */
.thoughts_sec--know {
  background:
    url('../img/common/wave_beige_bottom.png') no-repeat left bottom / 100% 80px,
    linear-gradient(var(--color-teal-light), var(--color-teal-light)) no-repeat left bottom / 100% 80px,
    var(--color-bg);
}

.thoughts_sec--know::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  background: var(--color-teal-light) url('../img/common/wave_beige_top.png') no-repeat center / 100% 100%;
  pointer-events: none;
}

/* 装飾リーフ（waveより手前に重なるよう::afterに配置） */
.thoughts_sec--know::after {
  content: '';
  position: absolute;
  right: 4%;
  bottom: 30px;
  width: 157px;
  height: 349px;
  background: url('../img/common/beige-leaf02.png') no-repeat center / contain;
  pointer-events: none;
}

.thoughts_sec--know .sec_inner {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 1200px) {
  .thoughts_sec--know {
    background-size: 100% 65px, 100% 65px, auto;
  }

  .thoughts_sec--know::before {
    height: 65px;
  }
}

@media only screen and (max-width: 960px) {
  .thoughts_sec--know {
    background-size: 100% 55px, 100% 55px, auto;
  }

  .thoughts_sec--know::before {
    height: 55px;
  }

  .thoughts_sec--know::after {
    width: 90px;
    height: 175px;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_sec--know {
    background-size: 100% 40px, 100% 40px, auto;
    padding: 120px 0 80px;
  }

  .thoughts_sec--know::before {
    height: auto;
    aspect-ratio: 750 / 168;
    background-image: url('../img/common/wave_beige_top_sp.png');
    background-size: 100% 100%;
  }

  .thoughts_sec--know::after {
    display: none;
  }
}

/* --------------------------------------------------
   SECTION: すべての犬ちゃんに、幸せな犬生を
-------------------------------------------------- */
.thoughts_sec--all {
  background: var(--color-teal-light);
  padding: 90px 0 120px;
  overflow: hidden;
}

.thoughts_sec--all::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 222px;
  height: 348px;
  background: url('../img/common/green-leaf01.png') no-repeat left bottom / contain;
  pointer-events: none;
  z-index: 0;
}

.thoughts_sec--all .sec_inner {
  position: relative;
  z-index: 1;
}

.thoughts_all_layout {
  display: flex;
  align-items: center;
  gap: 90px;
  margin-bottom: 50px;
}

.thoughts_all_head {
  flex: 1 1 50%;
}

.thoughts_all_layout .thoughts_sec_img {
  flex: 1 1 44%;
}

/* 運営会社カード */
.thoughts_company_card {
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--color-bg);
  border: 3px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(31, 68, 43, 0.06);
  padding: 30px;
}

.thoughts_company_card_img {
  flex: 0 0 auto;
  width: 190px;
  border-radius: 16px;
  overflow: hidden;
}

.thoughts_company_card_img img {
  width: 100%;
  height: auto;
  display: block;
}

.thoughts_company_card_body {
  flex: 1 1 auto;
}

.thoughts_company_card_title {
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.thoughts_company_card_desc {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}

.thoughts_company_card_btn {
  min-width: 240px;
}

@media only screen and (max-width: 1200px) {
  .thoughts_sec--all::before {
    width: 200px;
    height: 320px;
  }

  .thoughts_all_layout {
    gap: 50px;
    margin-bottom: 40px;
  }

  .thoughts_company_card {
    padding: 24px;
    gap: 24px;
  }

  .thoughts_company_card_img {
    width: 150px;
  }
}

@media only screen and (max-width: 960px) {
  .thoughts_sec--all::before {
    width: 150px;
    height: 240px;
  }

  .thoughts_all_layout {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
  }

  .thoughts_all_layout .thoughts_all_head {
    order: 2;
    width: 100%;
    text-align: center;
  margin: 0;
  }

  .thoughts_all_head .thoughts_sec_title {
    display: flex;
    justify-content: flex-start;
  }

  .thoughts_all_layout .thoughts_sec_img {
    order: 1;
    max-width: 380px;
    width: 100%;
    margin-inline: auto;
  }

  .thoughts_company_card {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .thoughts_company_card_img {
    width: 220px;
  }

  .thoughts_company_card_btn {
    width: 100%;
  }
}

@media only screen and (max-width: 568px) {
  .thoughts_sec--all {
    padding: 20px 0 60px;
  }

  .thoughts_sec--all::before {
    display: none;
  }

  .thoughts_all_head {
    margin: 28px auto 40px;
  }

  .thoughts_all_head .thoughts_sec_title img {
    width: 70%;
  }

  .thoughts_company_card {
    padding: 20px;
  }

  .thoughts_company_card_img {
    width: 100%;
    max-width: 240px;
  }

  .thoughts_company_card_title {
    font-size: 21px;
  }

  .thoughts_company_card_desc {
    font-size: 18px;
  }
}
