@charset "utf-8";
/* CSS Document */

#mdg-page *{margin: 0;padding: 0;box-sizing: border-box;}
#mdg-page{ overflow-x: clip; }       /* 现代浏览器 */
#mdg-page{ overflow-x: hidden; }     /* 兜底做法 */

#mdg-page{
    min-width: 320px;
    margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    color: var(--accent-color-02);
    /* background-color: #000; */
}
/* 
.roboto-condensed-<uniquifier> {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.noto-serif-jp-<uniquifier> {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
 */

/* p,a,button {font-family: 'Noto Sans JP';font-weight: 500;} */

#mdg-page ul{list-style:none;}
#mdg-page a{
    background-color: transparent; /* 背景颜色透明 */
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 继承父元素的字体颜色 */
}
#mdg-page a:hover,
#mdg-page a:focus {
    color: inherit; /* 鼠标悬停或聚焦时也继承父元素的字体颜色 */
    text-decoration: none; /* 鼠标悬停或聚焦时去除下划线 */
}
#mdg-page button {
    background: none;   /* 去除背景 */
    border: none;       /* 去除边框 */
    padding: 0;         /* 去除内边距 */
    font: inherit;      /* 继承字体样式 */
    color: inherit;     /* 继承字体颜色 */
    cursor: pointer;    /* 添加鼠标指针样式 */
    outline: inherit;   /* 继承轮廓样式 */
}

#mdg-page picture {width: 100%;display: block;}
#mdg-page img {width:100%;max-width:100%;height:auto;display:block;}

#mdg-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

/* ===== Design tokens（集中管理间距与颜色） ===== */
:root{
    /* 主色 */
    /* --primary-color-01: #213252;
    --primary-color-02: #279ee9;
    --primary-color-03: #dff3ff; */
    /* 次色 */
    /* --secondary-color-01: #f27521;
    --secondary-color-02: #ffff9f;
    --secondary-color-03: #fff9dc; */
    /* 强调色 */
    /* --accent-color-01: #1b1b1b;
    --accent-color-02: #333;
    --accent-color-03: #e6e6e6;
    --accent-color-04: #eee; */
    /* 其他配色 */
    /* --neutral-color-1: #1b1b1b;
    --neutral-color-2: #919191;
    --neutral-color-3: #f3f3f3; */

    /* --c-mail:#3483f8; --c-mail-hover:#2363c2;
    --c-tel:#f89034;  --c-tel-hover:#c7752d;
    --c-line:#00c300; --c-line-hover:#009000; */

    /* --shadow-md:0 8px 32px rgba(0,0,0,.15); */

    /* 容器最大宽度：对齐 8px 网格 */
    --container-sm: 384px;   /* 24rem, 常见手机内容宽 */
    --container-md: 768px;   /* 48rem, 平板/窄桌面 */
    /* --container-md: 752px; */
    --container-lg: 1120px;  /* 70rem, 常见内容宽 */
}
/* .secondary-color-01{color: var(--secondary-color-01);}
.secondary-color-02{color: var(--secondary-color-02);}
.accent-color-01{color: var(--accent-color-01);}
.accent-color-02{color: var(--accent-color-02);} */

#mdg-page .font-size--large{font-size: 140%;}
#mdg-page .font-size--middle{font-size: 120%;}
#mdg-page .font-size--small{font-size: 70%;}
#mdg-page .note{font-size: 14px;text-align: left;margin-top: 8px;}

/* .italic{font-style: italic;}
.marker-yellow {background: linear-gradient(transparent 80%, #f9ea9b 0%);}
.marker-gray {background: linear-gradient(transparent 60%, #e8e8e8 0%);} */

#mdg-page .u-show--mobile-only {display: none;}
#mdg-page .u-show--desktop-only {display: block;}
@media only screen and (max-width: 576px) {#mdg-page .u-show--mobile-only {display: block;}#mdg-page .u-show--desktop-only {display: none;}}

/* .main{display: grid;gap: 64px;} */
#mdg-page .section{width: 100%;padding: 64px 0 0;}

#mdg-page .container {width: 100%;margin: 0 auto;padding: 0 16px;}
#mdg-page .container--small { max-width: var(--container-sm); }
#mdg-page .container--middle{ max-width: var(--container-md); }
#mdg-page .container--large { max-width: var(--container-lg); }

#mdg-page .grid{display: grid;gap: 16px;}
#mdg-page .grid--2 {grid-template-columns: repeat(2, 1fr);}
#mdg-page .grid--2-1{grid-template-columns: 2fr 1fr; /* 2/3 : 1/3 */}
#mdg-page .grid--3 {grid-template-columns: repeat(3, 1fr);}
#mdg-page .grid--reversed{direction: rtl;}
#mdg-page .grid--reversed > * { direction: ltr; } /* 防止文本也变成 RTL */

@media only screen and (max-width: 768px) {
    /* #mdg-page .grid{gap: 40px;} */
    #mdg-page .grid--2,
    #mdg-page .grid--2-1{grid-template-columns: 1fr;}
    #mdg-page .grid--3:has(> :last-child:nth-child(odd)){grid-template-columns:1fr;/* 单数 */}
    #mdg-page .grid--3:has(> :last-child:nth-child(even)){grid-template-columns:repeat(2,1fr);/* 双数 */}
}
@media only screen and (max-width: 576px) {
    #mdg-page .grid--3:has(> :last-child:nth-child(even)){grid-template-columns:1fr;}
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    #mdg-page .section{padding: clamp(54.61px, calc(17.0667vw + 0.00px), 131.07px) 0 0;} /* 64px 128px */
    #mdg-page .container {padding: 0 clamp(10.24px, calc(3.2000vw + 0.00px), 24.58px);} /* 12px 24px */
}

/* #mdg-page .container{background-color: rgba(0,255,0,.3);} */
/* .content{inline-size: 100%;aspect-ratio: 16 / 9;background-color: rgba(255, 255, 0, 1);} */

/* 淡入动画样式 */
#mdg-page .fade-in {opacity: 0;transform: translateY(60px);transition: opacity 0.8s ease, transform 0.8s ease;}
#mdg-page .fade-in.is-shown {opacity: 1;transform: translateY(0);}
/* 动画延迟类 */
#mdg-page .delay-200 { transition-delay: 0.2s; }
#mdg-page .delay-400 { transition-delay: 0.4s; }
#mdg-page .delay-600 { transition-delay: 0.6s; }
#mdg-page .delay-800 { transition-delay: 0.8s; }
#mdg-page .delay-1000 { transition-delay: 1s; }
#mdg-page .delay-1200 { transition-delay: 1.2s; }

/* 光束效果 START */
/* #mdg-page .light-beam-container{
    display: block;
    width: 100%;
} */
/* 伪元素，用于创建光束效果 */
#mdg-page .light-beam{
    display: inline-block;
    cursor: pointer; /* 鼠标悬停样式为手型 */
	position: relative;
	overflow: hidden; /* 溢出内容隐藏，用于裁剪伪元素 */
}
#mdg-page .light-beam::before{
	content: ""; /* 伪元素内容为空 */
	position: absolute; /* 绝对定位，相对于包含块定位 */
	top: 50%; /* 伪元素垂直居中 */
	left: -100%; /* 初始位置在按钮左侧，使光束起始点在左侧 */
	/* z-index: 2; */
	display: block;
	transform: translate(-50%, -50%) rotate(45deg); /* 位移和旋转，创建斜角效果 */
	width: 50%; /* 光束宽度 */
	height: 600%; /* 光束高度 */
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%); /* 线性渐变，创建光束效果  */
	opacity: 0; /* 初始不可见 */
	animation: lightBeam 2s ease-out infinite; /* 光束动画，1.5秒，渐出，无限循环 */
}
/* 光束动画关键帧 */
@keyframes lightBeam{
    0% {opacity: 0;left: -50%;}
    50% {opacity: 1;left: 100%;}
    100% {opacity: 0;left: 100%;}
}
/* 光束效果 END */


/* MDG override: remove top padding only on 1008 / 1010 / 38 */
/* @media (min-width: 600px) {
  body.page-id-1008 #content.l-content,
  body.page-id-1010 #content.l-content,
  body.page-id-38  #content.l-content {
    padding-top: 0 !important;
  }
} */