/* ========================================
   Global Reset and Base Configuration
======================================== */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Segoe UI", -apple-system, sans-serif;
  color: #2d2d2d;
  background: #fcfcfc;
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #c41e3a;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  color: #8b1429;
}
/* ========================================
   Container and Layout Framework
======================================== */
#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff5f5 100%);
}
.inner {
  max-width: 1180px;
  padding: 0 30px;
  margin: 0 auto;
}
#column1 {
  flex: 1;
}
/* ========================================
   Navigation Top Bar
======================================== */
#top {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.08);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid #c41e3a;
}
#top .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top h1 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
#top h1 a {
  color: #c41e3a;
  display: flex;
  align-items: center;
  gap: 8px;
}
#top h1 a:hover {
  color: #8b1429;
}
#topmenubtn {
  cursor: pointer;
  padding: 11px 28px;
  background: linear-gradient(135deg, #c41e3a 0%, #d9534f 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
  border: none;
}
#topmenubtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
}
#panel {
  display: none;
}
/* ========================================
   Hero Header with Asymmetric Design
======================================== */
#header {
  position: relative;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
#header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(135deg, #c41e3a 0%, #e63946 50%, #d9534f 100%);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 1;
}
#header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
  z-index: 0;
}
#headertxt {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
#headertxt .title {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.3;
  max-width: 700px;
}
#headertxt .title a {
  color: inherit;
}
/* ========================================
   Content Container
======================================== */
#contents {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 30px;
}
#layoutbox {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}
#main {
  padding: 55px 50px;
}
/* ========================================
   Article and Content Typography
======================================== */
article h3 {
  font-size: 32px;
  font-weight: 900;
  color: #2d2d2d;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 8px solid #c41e3a;
  line-height: 1.4;
}
article h3 span {
  display: inline-block;
}
#text1 h2 {
  font-size: 26px;
  font-weight: 800;
  color: #c41e3a;
  margin: 60px 0 30px;
  padding: 20px 28px;
  background: linear-gradient(to right, #fff5f5 0%, #ffffff 100%);
  border-left: 6px solid #c41e3a;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.1);
}
#text1 h3 {
  font-size: 23px;
  font-weight: 700;
  color: #2d2d2d;
  margin: 50px 0 25px;
  padding: 0 0 15px 0;
  border-bottom: 3px solid #c41e3a;
  border-left: none;
  position: relative;
}
#text1 h3::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: #8b1429;
}
#text1 h4 {
  font-size: 20px;
  font-weight: 700;
  color: #3d3d3d;
  margin: 40px 0 20px;
  padding: 12px 20px;
  background: #fff5f5;
  border-radius: 6px;
  border-left: 4px solid #d9534f;
}
#text1 h5 {
  font-size: 18px;
  font-weight: 600;
  color: #5d5d5d;
  margin: 30px 0 15px;
  padding-left: 15px;
  border-left: 3px solid #ffc0cb;
}
#text1 p {
  margin-bottom: 24px;
  line-height: 1.9;
  color: #3d3d3d;
}
#text1 .txt-img {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.image-center {
  margin: 0 auto;
  display: block;
}
/* ========================================
   List Elements
======================================== */
#text1 ul,
#text1 ol {
  margin: 30px 0;
  padding-left: 35px;
}
#text1 ul li,
#text1 ol li {
  margin-bottom: 15px;
  padding-left: 12px;
  line-height: 1.8;
}
#text1 ul li {
  list-style: none;
  position: relative;
}
#text1 ul li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 12px;
  width: 0;
  height: 0;
  border-left: 5px solid #c41e3a;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
/* ========================================
   Data Table Styling
======================================== */
#text1 table {
  width: 100%;
  margin: 40px 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid #f5f5f5;
}
#text1 table th {
  background: linear-gradient(to bottom, #c41e3a, #a01729);
  color: #ffffff;
  padding: 20px 24px;
  font-weight: 800;
  text-align: left;
  font-size: 15px;
  letter-spacing: 0.5px;
}
#text1 table td {
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
  color: #3d3d3d;
}
#text1 table tr:last-child td {
  border-bottom: none;
}
#text1 table tr:hover {
  background: #fff5f5;
}
/* ========================================
   Category Card Grid
======================================== */
#categorylist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
  margin-top: 60px;
}
.catbox {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
}
.catbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #c41e3a, #d9534f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.catbox:hover::before {
  transform: scaleX(1);
}
.catbox:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(196, 30, 58, 0.2);
  border-color: #c41e3a;
}
.catbox .title {
  padding: 22px 28px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  font-size: 20px;
  font-weight: 800;
  border-bottom: 2px solid #f0f0f0;
  color: #2d2d2d;
}
.catbox .title a {
  color: #c41e3a;
}
.catbox .body {
  padding: 28px;
}
.catbox .body p {
  margin-bottom: 20px;
  color: #5d5d5d;
  line-height: 1.75;
}
.catbox .more {
  text-align: right;
  margin-top: 24px;
}
.catbox .more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: linear-gradient(135deg, #c41e3a 0%, #d9534f 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(196, 30, 58, 0.25);
}
.catbox .more a:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}
/* ========================================
   Menu Sidebar Area
======================================== */
#menu {
  background: linear-gradient(to bottom, #fff5f5, #ffffff);
  padding: 50px;
  margin-top: 50px;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
}
.menuitem h4 {
  font-size: 22px;
  font-weight: 800;
  color: #c41e3a;
  margin-bottom: 28px;
  padding: 0 0 15px 0;
  border-bottom: 3px solid #c41e3a;
  position: relative;
}
.menuitem h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #8b1429;
}
.menuitem h4 span {
  display: inline-block;
}
.menubox ul {
  list-style: none;
}
.menubox ul li {
  margin-bottom: 16px;
}
.menubox ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
}
.menubox ul li a::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #c41e3a;
  border-radius: 50%;
  transition: all 0.3s;
}
.menubox ul li a:hover {
  background: #fff5f5;
  border-left-color: #c41e3a;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.15);
}
.menubox ul li a:hover::before {
  transform: scale(1.5);
}
/* ========================================
   News and Updates Feed
======================================== */
#whatsnew {
  background: #ffffff;
  border-radius: 14px;
  margin-top: 50px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid #f0f0f0;
}
#whatsnew .title {
  background: linear-gradient(135deg, #c41e3a 0%, #e63946 50%, #d9534f 100%);
  color: #ffffff;
  padding: 20px 32px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
}
#whatsnew .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #8b1429, #c41e3a);
}
#whatsnew .title span {
  display: inline-block;
}
#whatsnew ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#whatsnew ul li {
  padding: 24px 32px;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
  position: relative;
}
#whatsnew ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #c41e3a;
  transform: scaleY(0);
  transition: transform 0.3s;
}
#whatsnew ul li:hover::before {
  transform: scaleY(1);
}
#whatsnew ul li:last-child {
  border-bottom: none;
}
#whatsnew ul li:hover {
  background: linear-gradient(to right, #fff5f5 0%, #ffffff 100%);
}
#whatsnew ul li span:first-child {
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  min-width: 100px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #c41e3a, #d9534f);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
}
#whatsnew ul li span:last-child {
  flex: 1;
  color: #3d3d3d;
  line-height: 1.7;
}
#whatsnew ul li span:last-child a {
  font-weight: 700;
  color: #c41e3a;
  position: relative;
}
#whatsnew ul li span:last-child a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c41e3a;
  transition: width 0.3s;
}
#whatsnew ul li span:last-child a:hover::after {
  width: 100%;
}
/* ========================================
   Scroll to Top Button
======================================== */
#pagetop {
  text-align: center;
  padding: 30px 0;
  margin-top: 25px;
}
#pagetop a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: linear-gradient(135deg, #c41e3a 0%, #d9534f 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}
#pagetop a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
}
/* ========================================
   Footer Section
======================================== */
#footer {
  background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
  color: #c0c0c0;
  padding: 55px 30px 30px;
  text-align: center;
  margin-top: auto;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #c41e3a, #d9534f, #c41e3a);
}
#footsub {
  margin-bottom: 30px;
}
#footsub a {
  color: #ffffff;
  padding: 12px 24px;
  border: 2px solid #c41e3a;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
  font-weight: 600;
}
#footsub a:hover {
  background: #c41e3a;
  border-color: #c41e3a;
  transform: scale(1.05);
}
#footer small {
  display: block;
  font-size: 13px;
  color: #808080;
  margin-top: 20px;
  letter-spacing: 0.5px;
}
/* ========================================
   Responsive Design Breakpoints
======================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .inner {
    padding: 0 20px;
  }
  #header {
    min-height: 240px;
  }
  #header::before {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  #headertxt {
    padding: 50px 0;
  }
  #headertxt .title {
    font-size: 28px;
    letter-spacing: 1px;
  }
  #main {
    padding: 35px 25px;
  }
  article h3 {
    font-size: 26px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left-width: 6px;
  }
  #text1 h2 {
    font-size: 22px;
    padding: 16px 20px;
    margin: 45px 0 25px;
    border-left-width: 4px;
  }
  #text1 h3 {
    font-size: 20px;
    margin: 40px 0 20px;
  }
  #text1 h4 {
    font-size: 18px;
    padding: 10px 16px;
  }
  #categorylist {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  #menu {
    padding: 30px 25px;
  }
  #text1 table {
    font-size: 13px;
  }
  #text1 table th,
  #text1 table td {
    padding: 14px 16px;
  }
  #whatsnew .title {
    padding: 16px 24px;
    font-size: 17px;
  }
  #whatsnew ul li {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #whatsnew ul li span:first-child {
    min-width: auto;
    font-size: 11px;
    padding: 5px 12px;
  }
  #footer {
    padding: 45px 20px 25px;
  }
  #topmenubtn {
    padding: 9px 20px;
    font-size: 13px;
  }
}