
@charset "utf-8";

/*-----------------------------------------------------
大見出し
-------------------------------------------------------*/

/* 中見出し
------------------------------------------------*/

/* 小見出し/コメント */

/* 1400px以下 */
@media only screen and (max-width: 1399px) {
}

/* 1200px以下 */
@media only screen and (max-width: 1199px) {
}

/* タブレット以下 */
@media only screen and (max-width: 991px) {
}

/* スマホ */
@media only screen and (max-width: 767px) {
}
/*-----------------------------------------------------
共通
-------------------------------------------------------*/
a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.max-width-fitctt{
  max-width: 90%;
  margin: 0 auto;
}
.box {
  animation-fill-mode: forwards;
}


/* styles.css */
body {
  font-family: "思源黑体", "Noto Sans SC", "苹方", "Microsoft YaHei", Arial, sans-serif;
}

/*-----------------------------------------------------
临时
-------------------------------------------------------*/

/* contac页面 */
.contact-test-bg{
  background-color: #ff7645;
}

/*-----------------------------------------------------
导航栏样式 
-------------------------------------------------------*/
/* 导航栏样式 */
.navbar {
  border-bottom: 1px solid #ddd;
}

.logo-container {
  margin-left: 2rem;
}
/* 调整导航链接间距 */
.navbar-nav .nav-item {
  margin-left: 5rem; 
  position: relative;
}

/* 链接样式 */
.nav-hover {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-hover:hover {
  color: #a9e1ce;
}

/* SVG 动画 */
.circle-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 50px;
  pointer-events: none;
}

.circle-animation ellipse {
  stroke-opacity: 0; /* 初始状态完全透明 */
  stroke-dasharray: 150; /* 定义椭圆的总长度 */
  stroke-dashoffset: 150; /* 偏移量与总长度一致 */
  transition: stroke-opacity 0.3s; /* 控制透明度的过渡效果 */
}

.nav-item:hover .circle-animation ellipse {
  stroke-opacity: 1; /* 鼠标悬停时显示线条 */
  animation: drawEllipse 0.6s linear forwards;
}

/* 椭圆绘制动画 */
@keyframes drawEllipse {
  0% {
    stroke-dashoffset: 150; /* 从完全隐藏开始 */
  }
  100% {
    stroke-dashoffset: 0; /* 绘制到完整椭圆 */
  }
}

/*-----------------------------------------------------
轮播图banner 
-------------------------------------------------------*/
.carousel-indicators button {
  width: 12px; /* 圆点的宽度 */
  height: 12px; /* 圆点的高度 */
  border-radius: 50%; /* 使圆点变成圆形 */
  background-color: #ff7f00; /* 默认橙色 */
  border: none; /* 移除默认边框 */
}

.carousel-indicators .active {
  background-color: #32c9c9; /* 激活状态为水蓝色 */
}

.carousel {
  margin-top: 100px; 
}
/*-----------------------------------------------------
滚动文字链接部分
-------------------------------------------------------*/
/* 滚动文字外层容器，限制可视范围 */
.scrolling-text-wrapper {
  overflow: hidden; /* 隐藏溢出的部分 */
  white-space: nowrap; /* 强制不换行 */
  position: relative;
  background-color: #f9f9f9;
  padding: 15px 0;
}

/* 滚动文字内部容器 */
.scrolling-text {
  display: flex; /* 使用 flex 布局 */
  animation: scroll-left 20s linear infinite; /* 连续滚动动画 */
  animation-play-state: running; /* 动画默认运行状态 */
}

/* 鼠标悬停时，暂停动画 */
.scrolling-text-wrapper:hover .scrolling-text {
  animation-play-state: paused; /* 动画暂停 */
}

/* 滚动的内容 */
.scrolling-content {
  display: flex; /* 使用 flex 布局让元素排列在一行 */
}

/* 滚动动画 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 只滚动到内容的一半宽度 */
  }
}

/* 每个 hashtag 的样式 */
.hashtag {
  color: #ff7f00; /* 橙色 */
  font-size: 1.1em; /* 调整字体大小 */
  text-decoration: none; /* 移除下划线 */
  margin-right: 20px; /* 每个文字之间的间距 */
  transition: color 0.3s ease; /* 添加颜色渐变效果 */
}

/* 鼠标悬停时变为水蓝色 */
.hashtag:hover {
  color: #32c9c9; /* 水蓝色 */
}



/*-----------------------------------------------------
ABOUT MYTREX 
-------------------------------------------------------*/
/* 区块背景和整体布局 */
.about-mytrex {
  background-color: #fff;
}

/* 标题样式 */
.section-title {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 8px;
}
.section-title-ctn{
  margin-left: 5rem;
}

.line {
  width: 50px;
  height: 2px;
  background-color: #000;
  margin-bottom: 20px;
}

.main-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
}

/* 描述段落 */
.description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #555;
}

/* 数字部分样式 */
.statistics {
  margin-top: 40px;

}

.stat-item {
  margin-bottom: 20px; /* 每个数字块的底部间距 */
}

.stat-number {
  font-size: 45px;
  font-weight: 600;
  color: #000;
}

.stat-underline01 {
  display: block;
  margin: 8px auto 0;
  width: 150px;
  height: 6px; 
}

.stat-underline02 {
  display: block;
  margin: 8px auto 0;
  width: 110px; 
  height: 6px; 
}
.stat-underline03 {
  display: block;
  margin: 8px auto 0;
  width: 60px; 
  height: 6px; 
}
.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-top: 8px;
}
/*-----------------------------------------------------
MYTREX 品牌初心
-------------------------------------------------------*/
/* MYTREX 品牌初心整体布局 */
.mytrex-vision {
  background-color: #fff;
}
.jiangxin{
  padding-left: 5rem;
}

/* 图片样式 */
.mytrex-vision img {
  max-width: 80%; /* 调整图片尺寸 */
  margin: 0 auto;
  display: block;
}

/* 标题样式 */
.section-title {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 8px;
}

.line {
  width: 50px;
  height: 2px;
  background-color: #000;
  margin-bottom: 50px;
}

.main-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
}

/* 描述段落 */
.description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #555;
}

/* 链接样式 */
.more-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #FF7F00;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}

.more-link:hover {
  text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .mytrex-vision img {
    max-width: 100%;
  }

  .description {
    font-size: 14px;
    line-height: 1.6;
  }
}




/*-----------------------------------------------------
NEWS
-------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 25px auto;
    overflow: hidden;
}

.news-grid-container {
    position: relative;
}

.news-grid {
    display: flex;
    transition: transform 0.3s ease;
}

.news-item {
    flex: 0 0 calc(25% - 1rem);
    margin-right: 1rem;
    cursor: pointer;
}

.news-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-item:hover img {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: white;
    color: black;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    color: #666;
    font-size: 14px;
}

.news-category {
    color: #FF6B00;
    font-size: 14px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #FF6B00;
}

.arrow-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-button button {
    width: 48px;
    height: 48px;
    border: 2px solid #E5E5E5;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.arrow-button button:hover {
    border-color: #FF6B00;
    color: #FF6B00;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .news-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .news-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .news-item {
        flex: 0 0 calc(100% - 1rem);
    }
}



/*-----------------------------------------------------
STARS BOOKMARKS
-------------------------------------------------------*/
/* 区块背景 */
.bookmark-section {
  background-color: #f5f5f5;
  padding: 50px 0;
  position: relative;
}

/* 橙色线条 */
.orangeline {
  position: absolute;
  top: 50px;
  left: 0;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 3s ease-out forwards;
  z-index: 1;
}

/* 书签容器 */
.bookmarks {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 50px; /* 控制书签之间的间距 */
  position: relative;
}

/* 高低错落样式 */
.bookmark-1 {
  margin-top: 0; /* 第一书签保持默认 */
}
.bookmark-2 {
  margin-top: 30px; /* 第二书签稍微降低 */
}
.bookmark-3 {
  margin-top: 0; /* 第三书签恢复默认 */
}

/* 书签样式 */
.bookmark {
  background: white;
  border-radius: 15px 15px 0 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 250px;
  padding: 20px;
  transform-origin: top left;
  z-index: 2;
}

/* 鼠标悬停时旋转效果 */
.bookmark:hover {
  animation: shake-hover 0.5s ease-in-out;
}

/* 橙色线条绘制动画 */
@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* 鼠标悬停时的旋转抖动效果 */
@keyframes shake-hover {
  0%, 100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .bookmarks {
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 居中对齐 */
    gap: 30px; /* 调整间距 */
  }
  .bookmark-1, .bookmark-2, .bookmark-3 {
    margin-top: 0; /* 响应式下无高低错落 */
  }
}





