/*
 Theme Name:   Rednote Theme
 Template:     solaris_tcd088
 Version:      1.0.1
 Text Domain:  solaris_tcd088-child
*/

/* 基础样式设置 */
:root {
  --primary-color: #FF1B21;
  --primary-color-dark: #d32f2f;
  --primary-color-light: #ffb3b3;
  --primary-color-super-light: #fff1f1;
  --secondary-color: #122245;
  --white: #ffffff;
  --yellow-color: #FFE900;
  --red-bg: #FF6164;
  --gray-bg: #f6f7f8;
  --border-color: #e1e7eb;
  --text-third-color: #9c9c9d;
  --text-secondary-color: #6e6e73;
  --text-dark-color: #1d1d1f;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 2rem;
}

.gray-bg {
  background-color: #f6f7f8;
}

.red-color {
  color: var(--primary-color);
  font-weight: 700;
}

body {
  /* font-family: "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; */
  font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  color: #1d1d1f;
  background: var(--white);
}

.pc body.use_header_fix #header:after,
body.single #header.active:after,
.use_mobile_header_fix #header:after {
  display: none !important;
}

#header,
.header_fix_mobile {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary-color) !important;
  border: none;
}

.btn-secondary {
  background-color: var(--secondary-color) !important;
  border: none;
}

.btn {
  border-radius: 2rem !important;
  padding: .7em 2.2em;
  transition: opacity 0.2s ease-in;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 1.1rem;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    opacity: 0.85;
  }
}

.rednote-btn {
  font-weight: 700 !important;
}

.rednote-btn-outline {
  color: var(--white);
  border: 1px solid var(--white);
}

/* 通用区块样式 */
section {
  padding: 80px 0;
}

.section-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title-container .section-en-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: .5rem;
}

.bg-light {
  background-color: var(--gray-bg) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* 标题样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1d1d1f;
  line-height: 1.5;
  font-weight: 700 !important;
  letter-spacing: normal;
  text-transform: none;
}

h1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

h2 {
  font-size: calc(1.325rem + .9vw) !important;
}

h3 {
  font-size: calc(1.3rem + .6vw) !important;
}

section h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin-top: .5rem;
  border-radius: 2px;
}

.scroll-container {
  position: relative;
  height: 12px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.blog-scrollbar {
  max-width: 1320px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  height: 12px;
  background-color: transparent;
  border-top: 2px solid var(--border-color) !important;
  z-index: 10;
}

.blog-scrollbar-thumb {
  position: absolute;
  top: -2px;
  height: 100%;
  width: 40px;
  background: transparent;
  border-top: 2px solid #1d1d1f !important;
  cursor: pointer;
}

p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* 头部导航栏 */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  height: 80px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header .navbar,
#header {
  height: 80px !important;
}

.site-header .nav-menu {
  display: flex;
  align-items: center;
  height: 80px;
}

.site-header .menu-item {
  display: flex;
  // flex-direction: column;
  align-items: center;
  padding: 4px 40px;
  margin-bottom: 0;
}

.site-header .menu-item:last-child {
  padding-right: 0;
}

.site-header .menu-description {
  font-size: 10px;
  color: var(--primary-color);
  font-weight: 900;
}

.site-header .menu-item .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.site-header .contact-btn {
  padding: .75em 2rem !important;
}

.site-header .sp-contact-btn {
  font-size: .875rem !important;
  padding: .75em 1rem !important;
  font-weight: 700;
}

.navbar-toggler {
  width: auto;
  height: auto;
  padding: 0 !important;
  text-align: center;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.site-header-sp-menu .nav-link {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 2rem !important;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* 页面快速导航 */
.page-quick-nav {
  height: 48px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.quick-nav .nav-item {
  height: 24px;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-right: 1px solid var(--border-color);
}

.quick-nav .nav-link {
  font-size: .875rem;
  padding: 0;
  color: var(--text-secondary-color);
}

@media (hover: hover) and (pointer: fine) {
  .quick-nav .nav-link:hover {
    color: var(--primary-color);
  }
}

.quick-nav .nav-link i {
  transform: rotate(45deg);
  margin-left: 8px;
  font-size: 16px;
  color: var(--primary-color);
}

.quick-nav .nav-item:first-child {
  border-left: 1px solid var(--border-color);
}

/* 首页头部样式 */
.hero-section {
  background-image: url(https://rednote.kentokento.com/wp-content/uploads/2025/05/hero-section-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-section .hero-content {
  margin-bottom: 48px;
}

.hero-section .catchcopy {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yellow-color);
}

.hero-section h1 {
  color: #ffffff;
}

.hero-section .description {
  /* background-color: rgba(255, 255, 255, .2); */
  color: #ffffff;
  /* padding: .25rem .5rem; */
  /* width: fit-content; */
}

.hero-section .banner-case-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .banner-case-image-container .banner-case-image {
  max-height: 640px;
  height: auto;
  width: 100%;
  object-fit: cover;
}

/* .hero-section .banner-case-image-container .banner-case-image {
  position: absolute;
  top: 3rem;
  right: 0;
  z-index: 10;
  max-height: 640px;
  width: 100%;
  object-fit: cover;
} */

.hero-section .banner-case-image-container-sp {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .banner-case-image-container-sp .banner-case-image {
  width: 70%;
  height: auto;
}

.hero-section .btn {
  width: 50%;
  max-width: 300px;
  letter-spacing: 0;
}

/* なぜ、小紅書（RED）なのか */
.why-red-section .data-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: .75rem;
}

.why-red-section .data-item .data-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: .5rem;
  background-color: var(--primary-color-super-light);
}

.why-red-section .data-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.why-red-section .data-item .data-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .5rem;
  color: var(--primary-color);
}

.why-red-section .data-item .data-description {
  font-size: .875rem;
  color: var(--text-secondary-color);
}

/* REDについて */
.about-red-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: .75rem;
  overflow: hidden;
}

.about-red-container .about-red-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-red-container .about-red-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-red-container .about-red-content {
  padding: 2rem 2rem 2rem .5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.5;
}

/* 日本の「小紅書（RED）」アカウント例 */
.example-section {
  position: relative;
}

.example-section .container{
  position: relative;
  z-index: 1;
}

.example-section:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(assets/images/graph-paper.svg);
  background-position: center;
  background-repeat: repeat;
  opacity: .06;
  z-index: 0;
}

.example-section h2 {
  font-size: 1.75rem !important;
}

.example-section .example-item {
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.15);
  transition: .2s ease-in-out;
  aspect-ratio: 16/10;
}

@media (hover: hover) and (pointer: fine) {
  .example-section .example-item:hover {
    box-shadow: 0 4px 24px 0 rgba(255, 59, 63, 0.12);
    transform: translateY(-4px);
  }
}

/* こんな悩みありませんか？ */
.trouble-section {
  background-color: var(--red-bg);
}

.trouble-section h3 {
  margin-bottom: 4rem;
  text-align: left;
  align-items: flex-start;
}

.trouble-section h2:after {
  display: none;
}

.trouble-section .trouble-content {
  background-color: var(--primary-color-super-light);
  border-radius: 1.5rem;
  padding: 4rem;
  position: relative;
}

.trouble-content::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -27px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 28px solid var(--primary-color-super-light);
}


.trouble-section .trouble-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.trouble-section .trouble-list .trouble-item {
  background-color: var(--white);
  border-radius: 5rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 16px 0 #FFE2E2;
  line-height: 1.5;
}

.trouble-section .trouble-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--white);
  position: absolute;
  top: -80px;
  right: 4rem;
  width: 22%;
  aspect-ratio: 1/1;

}

.trouble-section .trouble-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* プロにお任せて */
.cta-section.blue-cta {
  background-image: url(assets/images/blue-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-section.red-cta {
  background-image: url(assets/images/red-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.cta-container {
  background-color: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-container .cta-content {
  padding: 2rem 2rem 2rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.cta-container .cta-content .cta-catch {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-secondary-color);
  background-color: var(--gray-bg);
  padding: .5rem 1rem;
  border-radius: 1rem;
  width: fit-content;
}

.cta-container .cta-content .cta-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
}

.cta-container .cta-content .cta-title:after {
  display: none;
}

.cta-container .cta-content .rednote-btn-outline {
  color: var(--text-dark-color);
  border: 1px solid var(--text-dark-color);
}

.cta-container .cta-content .btn {
  min-width: 160px;
}

/* 強み・依頼メリット */
.merit-section {
  background-color: var(--gray-bg);
}

.merit-section .merit-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--white);
  aspect-ratio: 16/10;
  position: relative;
  margin-bottom: 1.5rem;
}

.merit-section .merit-image img {
  height: 100%;
  object-fit: cover;
}

.merit-section .merit-number {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-color-super-light);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  border-end-end-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.merit-section .merit-content {
  padding: 1.5rem;
}

.merit-section .merit-title {
  position: relative;
  padding-left: 8px;
  font-size: 1.125rem !important;
  font-weight: 700;
  margin-bottom: .5rem;
}

.merit-section .merit-title::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.merit-section .description {
  margin-bottom: 0;
  color: var(--text-secondary-color);
}

/* 運用中のアカウント例 */
.case-section .case-item {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.case-section .case-item .case-image {
  position: relative;
  background-color: var(--gray-bg);
}

.case-section .case-item .case-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(assets/images/graph-paper.svg);
  background-position: center;
  background-repeat: repeat;
  opacity: .06;
  z-index: 0;
}

.case-section .case-item .case-image img {
  position: relative;
  z-index: 1;
}

.case-section .case-item .case-content {
  padding: 3rem 1.5rem 3rem 0;
}

.case-section .case-item .case-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.case-section .case-item .case-category {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-section .case-item .case-category span {
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: var(--primary-color-super-light);
  padding: .5rem 1rem;
  border-radius: 5rem;
  width: fit-content;
}

.case-section .case-item .case-description {
  font-size: 1rem;
  color: var(--text-dark-color);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.case-section .case-item .case-description:last-child {
  margin-bottom: 0;
}

/* 導入の流れ */
.flow-section .flow-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}

.flow-section .flow-item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 5rem;
  margin-bottom: 3rem;
}

.flow-section .flow-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1.5rem - 5px);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--text-third-color);
}

.flow-section .flow-item:last-child::after {
  display: none;
}

.flow-section .flow-item .flow-number {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--primary-color);
  width: 4rem;
  min-width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-section .flow-item .flow-number::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transform-origin: right;
}

.flow-section .flow-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.flow-section .flow-content .flow-title {
  font-size: 1.25rem !important;
  font-weight: 700;
  margin-bottom: 0;
}

.flow-section .flow-content .flow-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

/* 博客列表 */
.blog-section .blog-container {
  position: relative;
}

.blog-section .blog-list {
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-left: calc(var(--bs-gutter-x) * .5);
  padding-right: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

.blog-section .blog-list::-webkit-scrollbar {
  display: none;
}

.blog-section .blog-item .blog-image img {
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .blog-section .blog-item:hover .blog-image img {
    transform: scale(1.1);
  }
}

@media (min-width: 576px) {
  .blog-section .blog-list {
    padding-left: calc((100% - 540px) / 2 + 12px);
  }
}

@media (min-width: 768px) {
  .blog-section .blog-list {
    padding-left: calc((100% - 720px) / 2 + 12px);
  }
}

@media (min-width: 992px) {
  .blog-section .blog-list {
    padding-left: calc((100% - 960px) / 2 + 12px);
  }
}

@media (min-width: 1200px) {
  .blog-section .blog-list {
    padding-left: calc((100% - 1140px) / 2);
  }
}

@media (min-width: 1400px) {
  .blog-section .blog-list {
    padding-left: calc((100% - 1320px) / 2);
  }
}

.blog-section .blog-image {
  aspect-ratio: 16/10;
  margin-bottom: 1.5rem;
  border-radius: .5rem;
  overflow: hidden;
}

.blog-section .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-section .date {
  font-size: .875rem;
  color: var(--text-secondary-color);
}

.blog-section .blog-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-section .blog-category {
  font-size: .875rem;
  color: var(--primary-color);
  background-color: var(--primary-color-super-light);
  border-radius: 5rem;
  padding: .25rem 1rem;
  width: fit-content;
}

/* 博客列表页面样式 */
.blog-archive-hero {
  background-color: #f8f9fa;
  padding: 3rem 0;
  background-image: url(assets/images/red-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-archive-hero h1 {
  margin-bottom: 1rem;
}

.blog-archive-content .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .blog-archive-content .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}

.blog-archive-content .card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

.blog-archive-content .card-body {
  padding: 1rem;
}

.blog-archive-content .blog-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-archive-content .blog-excerpt {
  font-size: .875rem;
  color: var(--text-secondary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 限制显示 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-archive-content .badge {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  background-color: #f8f9fa;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.75rem;
}

.blog-archive-content .text-muted {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
}

/* 分页样式 */
.pagination-container .page-numbers{
  margin-left: 0;
  padding-left: 0;
  display: inline-flex;
  gap: 1rem;
}

.pagination .page-link {
  color: var(--primary-color);
  border-color: #dee2e6;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 50px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

@media (hover: hover) and (pointer: fine) {
  .pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color-dark);
  }
}

/* 首页博客部分增强 */
.blog-section .card {
  border: none;
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .blog-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}

.blog-section .card-img-top {
  height: 180px;
  object-fit: cover;
}

.blog-section .btn-outline-danger {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .blog-section .btn-outline-danger:hover {
    background-color: var(--primary-color);
    color: white;
  }
}

/* 横滑卡片 */
.row.flex-nowrap {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 1.25rem;
}

.row.flex-nowrap>[class*='col-'] {
  min-width: 260px;
  max-width: 320px;
}

/* Footer */
.site-footer {
  background: var(--gray-bg);
  position: relative;
  background-image: url(assets/images/footer-bg.png);
}

.back-to-top {
  position: absolute;
  top: -25px;
  right: 0;
  z-index: 1000;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background-color: var(--primary-color-dark);
  }
}


.logo-container {

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-container .footer-logo {
  margin-bottom: 1rem;
}

.logo-container .footer-logo img {
  width: 160px;
}


.logo-container .footer-catch {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.footer-copyright {
  font-size: .75rem;
  color: var(--text-secondary-color);
  background-color: var(--gray-bg);
  text-align: center;
  padding: .5rem 0;
}

/* 表单 */
.contact-section {
  background-color: var(--gray-bg);
}

.contact-section .contact-container {
  background-color: var(--secondary-color);
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  border-radius: 1.5rem;
  padding: 5rem;
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .contact-form-container {
  padding: 3rem;
  background-color: var(--white);
  border-radius: .75rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section .form-control {
  border-radius: 1.5rem;
  border: 1px solid #eee;
  font-size: 1rem;
  padding: .8em 1.2em;
}

.contact-section .form-label {
  font-weight: 600;
  color: #222;
}

.contact-section .btn-danger {
  font-size: 1.1rem;
  padding: .7em 2.2em;
}

.forminator-row:not(:last-child) {
  margin-bottom: 1rem !important;
}

.form-part {
  text-align: left !important;
}

.form-part label {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif !important;
  margin-bottom: 8px !important;
  color: #1d1d1f !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

.form-part .forminator-required {
  color: #da0b0b !important;
  font-size: 16px !important;
}

.form-part input,
.form-part textarea {
  background-color: #fafafc !important;
  border: 1px solid #0000002d !important;
  border-radius: 8px !important;
}

.forminator-button {
  background-color: var(--primary-color) !important;
  border-radius: 999px !important;
  padding: .75rem 1.5rem !important;
  font-size: 1rem !important;
  color: #fff !important;
  font-weight: bold !important;
}

.forminator-radio .forminator-radio-bullet {
  background-color: #fafafc !important;
  border-color: #0000002d !important;
}

.forminator-ui#forminator-module-64.forminator-design--default .forminator-radio input:checked + .forminator-radio-bullet {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.forminator-ui#forminator-module-64.forminator-design--default .forminator-radio .forminator-radio-bullet:before {
  background-color: #fafafc !important;
}

@media (hover: hover) and (pointer: fine) {
  .forminator-button:hover {
    box-shadow: none !important;
    opacity: .85;
    transition: .2s ease-in;
  }
}

.form-part .forminator-error-message {
  background-color: #F9E4E8 !important;
  color: #da0b0b !important;
  font-size: 12px !important;
}

/* 会社情報 */
.company-section .company-content {
  background-color: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
}

.company-section .company-info {
  padding: 3rem;
}

.company-section .company-info-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.company-section .company-catch {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.company-section .company-info-item:last-child {
  border-bottom: none;
}

.company-section .company-info-item .left {
  color: var(--text-secondary-color);
  width: 120px;
  min-width: 120px;
}

.company-section .company-info-item .right {
  color: var(--text-dark-color);
}

.company-section .company-image {
  width: 100%;
  height: 100%;
}

.company-section .company-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* 按钮样式 */
.btn-danger,
.bg-danger,
.badge.bg-danger {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-danger {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  background: transparent !important;
}

@media (hover: hover) and (pointer: fine) {

  .btn-outline-danger:hover,
  .btn-outline-danger:focus {
    background: var(--primary-color) !important;
    color: #fff !important;
  }
}

/* 图标 */
.fa-2x,
.fa-3x {
  margin-bottom: .5rem;
}

.text-danger {
  color: var(--primary-color) !important;
}

/* 徽章 */
.badge.bg-danger {
  font-size: 1rem;
  padding: .4em 1.2em;
  border-radius: 1.2em;
}

/* 响应式设置 */
@media (min-width: 992px) {
  .hero-section {
    height: 640px;
    padding: 0;
  }
}

@media (max-width: 992px) {
  .site-header .navbar-brand {
    font-size: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  section h2 {
    margin-bottom: 1.5rem;
  }

  .example-section h2 {
    font-size: 1.1rem !important;
  }

  .trouble-section h3 {
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.3rem !important;
  }

  h3 {
    font-size: 1.1rem !important;
  }

  h4 {
    font-size: 1rem !important;
  }

  h5 {
    font-size: 0.9rem !important;
  }

  h6 {
    font-size: 0.8rem !important;
  }

  .btn {
    font-size: 1rem !important;
  }

  .menu-item {
    padding: 4px 16px;
  }

  /* 小紅書（RED）について */
  .about-red-container .about-red-content {
    padding: 1.5rem;
    font-size: .875rem;
  }

  .about-red-container .about-red-image-container {
    max-height: 240px;
    background-color: var(--primary-color-super-light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-red-container .about-red-image-container img {
    width: auto;
    height: 100%;
  }

  .why-red-section .data-item {
    padding: 1rem;
    gap: 1rem;
  }

  .why-red-section .data-item .data-number {
    font-size: 1.25rem;
  }

  .why-red-section .data-item .data-description {
    font-size: .75rem;
  }

  .why-red-section .data-item .data-icon {
    min-width: 48px;
    width: 48px;
    height: 48px;
  }

  .why-red-section .data-item i {
    font-size: 1.25rem;
  }

  /* こんな悩みありませんか？ */
  .trouble-section .trouble-title {
    font-size: 1.3rem !important;
  }

  .trouble-section .trouble-list {
    font-size: .875rem;
    gap: 1rem;
  }

  .trouble-section .trouble-content {
    padding: 1.5rem;
  }

  .trouble-section h2 {
    margin-bottom: 1.5rem;
  }

  .trouble-section .trouble-image {
    position: relative;
    top: 0;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1.5rem;
    width: 50%;
    max-width: 240px;
  }

  /* メリット */
  .merit-section .merit-image {
    margin-bottom: 1rem;
  }

  .merit-section .merit-title {
    font-size: 1rem;
  }

  .merit-section .description {
    font-size: .875rem;
  }

  /* 日本の「小紅書（RED）」アカウント例 */
  /* .example-container {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    margin: 0;
    padding: 0;
  } */

  .case-section .case-item .case-content {
    padding: 1.5rem;
  }

  .case-section .case-item .case-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .case-section .case-item .case-category {
    font-size: .75rem;
    margin-bottom: 1rem;
  }

  .case-section .case-item .case-description {
    font-size: .875rem;
  }

  /* プロにお任せて CTA */
  .cta-container .cta-content {
    padding: 1.5rem;
  }

  .cta-container .cta-content .cta-title {
    font-size: 1.5rem;
  }

  /* 導入の流れ */
  .flow-section .flow-item {
    font-size: .875rem;
    gap: 1rem;
    padding: 1rem;
  }

  .flow-section .flow-item .flow-number {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .flow-section .flow-item .flow-number i {
    font-size: 1.25rem !important;
  }

  .flow-section .flow-content .flow-title {
    font-size: 1rem !important;
  }

  .flow-section .flow-content .flow-description {
    font-size: .875rem;
  }

  /* ブログ */
  .blog-section .blog-list {
    --bs-gutter-x: 1.5rem;
    gap: 1rem;
  }

  .blog-section .blog-title {
    font-size: .875rem !important;
  }

  .blog-scrollbar {
    width: calc(100% - 2rem);
  }


  /* 会社情報 */
  .company-section .company-image {
    max-height: 240px;
    overflow: hidden;
  }

  .company-section .company-info-item {
    padding: 1rem 0;
    font-size: .875rem;
  }

  .company-section .company-info-item .left {
    width: 100px;
    min-width: 100px;
  }

  /* お問い合わせ */
  .contact-section {
    padding-top: 0;
    margin-bottom: 0;
  }

  .contact-section .section-title-container {
    padding: 1rem;
  }

  .contact-section .contact-container {
    padding: 3rem 1rem 3rem;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .contact-section .contact-form-container {
    padding: 1rem;
  }

  .contact-section .contact-description {
    font-size: .875rem;
  }

  .back-to-top {
    right: 1rem;
  }
}

/* 单篇文章页面样式 */
.single-post {
  padding: 0;
}

.single-post-container {
  background-color: #fff;
}

.single-post-container p {
  line-height: 2;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.single-post-container .styled_h2 {
  color: var(--white) !important;
  font-size: 1.3rem !important;
}

.single-post-container .styled_h3 {
  font-size: 1.15rem !important;
}

.single-post-container .styled_h4 {
  font-size: 1.1rem !important;
  padding-left: 0 !important;
}

.single-post-container .styled_h5 {
  font-size: 1rem !important;
}

.single-post-content {
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.single-post-content .entry-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: var(--text-dark-color);
}

.single-post-content .entry-meta {
  margin-bottom: 1.5rem !important;
  font-size: 0.875rem;
}

.single-post-content .post-date {
  color: var(--text-secondary-color);
}

.single-post-content .post-category {
  font-size: .875rem;
  color: var(--primary-color);
  background-color: var(--primary-color-super-light);
  border-radius: 5rem;
  padding: .25rem 1rem;
  display: inline-block;
}

.single-post-content .featured-image {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.single-post-content .featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: var(--card-shadow);
}

.single-post-content .entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark-color);
  margin-bottom: 2rem;
}

.single-post-content .entry-content h1,
.single-post-content .entry-content h2,
.single-post-content .entry-content h3,
.single-post-content .entry-content h4,
.single-post-content .entry-content h5,
.single-post-content .entry-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-dark-color);
}

.single-post-content .entry-content img {
  max-width: 100%;
  height: auto;
}

.single-post-content .entry-content a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .single-post-content .entry-content a:hover {
    text-decoration: underline;
  }
}

.single-post-content .entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--primary-color-super-light);
  font-style: italic;
}

.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.single-post-content .entry-content li {
  margin-bottom: 0.5rem;
}

.single-post-content .entry-footer {
  border-top: 1px solid var(--gray-bg);
  padding-top: 2rem;
  margin-top: 2rem;
}

.single-post .post-tags {
  margin-bottom: 2rem;
}

.single-post .tags-title {
  font-weight: 700;
  margin-right: 0.5rem;
}

.single-post-content .post-tags a {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary-color);
  background-color: var(--gray-bg);
  border-radius: 5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .single-post .post-tags a:hover {
    background-color: var(--primary-color-super-light);
    color: var(--primary-color);
  }
}

.single-post .related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark-color);
}

.single-post .related-posts .card-img-top {
  height: 180px;
  object-fit: cover;
}

.single-post .back-to-blog {
  margin-top: 3rem;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .single-post-container {
    padding: 2rem 0;
  }

  .single-post-content {
    border-left: none;
    border-right: none;
  }

  .single-post-content .entry-title {
    font-size: 1.5rem !important;
  }

  .single-post-container p {
    font-size: .875rem !important;
  }

  .single-post-content .entry-content {
    font-size: 0.9rem !important;
  }

  .single-post-content .related-posts .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* 普通页面样式 */
.page-container {
  padding: 4rem 0;
  background-color: #fff;
}

.page-content {
  margin-bottom: 3rem;
}

.page-content .entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: var(--text-dark-color);
  text-align: center;
}

.page-content .featured-image {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.page-content .featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: var(--card-shadow);
}

.page-content .entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark-color);
}

.page-content .entry-content p {
  margin-bottom: 1.5rem;
}

.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4,
.page-content .entry-content h5,
.page-content .entry-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-dark-color);
}

.page-content .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.page-content .entry-content a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .page-content .entry-content a:hover {
    text-decoration: underline;
  }
}

/* 响应式样式 */
@media (max-width: 992px) {
  .page-container {
    padding: 2rem 0;
  }

  .page-content .entry-title {
    font-size: 1.8rem;
  }

  .page-content .entry-content {
    font-size: 0.9rem;
  }
}

/* 面包屑导航样式 */
.breadcrumbs {
  padding: 0.75rem 0;
  margin-bottom: 2rem;
}

.breadcrumb {
  margin-bottom: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  font-size: 0.875rem !important;
}

.breadcrumb-item {
  color: var(--text-secondary-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb-item a {
  color: var(--text-secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb-item a:hover {
    color: var(--primary-color);
  }
}

.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  color: var(--text-secondary-color);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .breadcrumbs {
    margin-bottom: 1rem;
  }

  .breadcrumb {
    font-size: 0.75rem;
  }
}