@charset "UTF-8";
body{background: #fff;}
.tit-wrap{margin-bottom: 20px; border-bottom: 3px solid #ddd; text-align: left;}
h2{position: relative; display: inline-block; font-size: var(--big-size); color: var(--color-p); font-weight: 700; padding: 0 4px 10px; letter-spacing: 1px;}
h2::after{content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 3px; background: linear-gradient(to right, #ff1976, #ffc11c, #1fc2ff);}
h3{font-size: var(--third-size); color: var(--color-p); padding: 0 15px; font-weight: 700; line-height: 1.75; margin-bottom: 5px;}
h4{font-size: var(--second-size); color: var(--color-k); padding: 10px 0; font-weight: 700; line-height: 1.75; margin-bottom: 20px; border-bottom: 1px solid var(--color-line); display: flex; align-items: center;}
h4 span{margin-right: 10px;}
p{font-size: var(--fourth-size); color: var(--color-grey); line-height: 2; padding: 0 2%; font-weight: normal;}
p, span{font-weight: 500;}
table{word-break: break-word;}

.action-wrap{width: 100%; display: inline-block; background: #f6f4f9;}
.action-td{width: 1280px; padding: 40px 30px; margin: 0 auto;}

.tabs{display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; gap: 12px; margin: 20px 0;}
.tab-button{position: relative; background: #e2ebf3; border: none; border-radius: 10px; padding: 8px 24px; cursor: pointer;font-size: 1rem; font-weight: 500; color: var(--color-w);transition: 0.5s;}
.tab-button h2{font-size: var(--third-size); color: var(--color-k); display: inline; margin: 0;}
.tab-button h2::after{background: none;}
.tab-button:hover{background: #cde8ff;}
.tab-button:hover h2{color: var(--color-link);}
.tab-button.active{background: var(--color-link); pointer-events: none;}
.tab-button.active h2{color: var(--color-w);}
.tab-button::after{content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #cde8ff; opacity: 0; transition: opacity 0.5s;}
.tab-button.active::after{opacity: 1; border-top-color: var(--color-link);}
.tab-content{display: none; padding: 1rem;}
.tab-content.active{display: block;}

.card-container{display: grid; grid-template-columns: repeat(3, 32%); justify-content: space-around; gap: 10px 0;}
.card{background: var(--color-w); border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); margin-bottom: 10px; padding: 1rem;}
.card h3{margin-bottom: 5px; font-size: var(--fourth-size); color: var(--color-p); padding: 0 2%; line-height: 1.5;}
.card h3 span{padding: 0 10px; vertical-align: bottom;}
.card p{line-height: 1.75; margin-bottom: 5px;}
.card p strong{color: var(--color-o); font-size: var(--smallest-size);}
.card span.att{color: var(--color-g); font-size: var(--smallest-size);}
.att{color: var(--color-r); font-size: var(--smallest-size);}

@media screen and (max-width: 1360px) {
.action-td, .tit h4{width: 100%;}
}

@media screen and (max-width: 980px) {
.tabs{margin: 20px 0 0;}
.tab-button{margin-bottom: 5px;}
}

@media screen and (max-width: 900px) {
.tabs{justify-content: flex-start;}
.card-container{grid-template-columns: repeat(2, 48%);}
}

@media screen and (max-width: 768px) {
h3{ padding: 0 10px;}
}

@media screen and (max-width: 500px) {
h2{font-size: 1.75rem;}
h3{padding: 0 5px;}
h4{font-size: var(--third-size);}
p{font-size: var(--basics-size);}
.action-td{padding: 20px;}
.tab-button{padding: 8px 16px;}
.tab-button h2{font-size: var(--fourth-size);}
.card-container{grid-template-columns: repeat(1, 100%); justify-content: center;}
}