/* titles.hwa.css */
section.hwa {
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

section.hwa::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hwa-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hwa-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hwa-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hwa-sub {
  font-size: 1.25rem;
}

.hwa-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  text-decoration: none;
  animation: hwa-bounce 2s infinite;
}

@keyframes hwa-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* text_content.sttl.css */
section.tcst {
  width: 100%;
  padding: 4rem 2rem;
  text-align: center;
}

.tcst-title {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tcst-sub {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.7;
}

.tcst-sub:empty { display: none; }

/* text_content.qblk.css */
.qblk {
  width: 100%;
  text-align: center;
  padding: 2rem;
}

.qblk-quote {
  font-style: italic;
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.qblk-author {
  font-weight: bold;
  color: #ddd;
  text-align: right;
  max-width: 800px;
  margin: 0 auto;
}

/* text_content.phin.css */
section.phin {
  width: 100%;
  padding: 1rem 2rem;
}

.phin-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.phin-left {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.phin-timeline {
  list-style: none;
  padding: 0.5rem;
}

.phin-timeline li {
  padding: 0.2rem 0;
}

.phin-text {
  line-height: 1.6;
}

.phin-right {
  flex: 1;
  min-width: 0;
  max-width: 35%;
  border-radius: 12px;
  overflow: hidden;
}

.phin-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 760px) {
  .phin-inner { flex-direction: column; }
  .phin-right { max-width: 100%; }
  .phin-img { height: 50vw; }
}

/* media_grid.b5.css */
.b5-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 360px 240px;
  gap: 10px;
  padding: 1rem;
}

.b5-grid > div {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1a1a;
}

.b5-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.b5-p1 { grid-column: span 2; }
.b5-p2 { grid-column: span 3; }
.b5-p3 { grid-column: span 3; }
.b5-p4 { grid-column: span 6; }
.b5-p5 { grid-column: span 2; }

@media (max-width: 768px) {
  .b5-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }
  .b5-p1 { grid-column: span 1; }
  .b5-p2 { grid-column: span 1; }
  .b5-p3 { grid-column: span 2; }
  .b5-p4 { grid-column: span 2; }
  .b5-p5 { grid-column: span 1; }
}

/* text_content.lbtn.css */
.lbtn {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.lbtn-link {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.lbtn-link:hover {
  text-decoration: underline;
}

/* text_content.drtx.css */
section.drtx {
  width: 100%;
  padding: 1rem 2rem;
}

.drtx-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drtx-inner p {
  line-height: 1.7;
}

/* footer.portf.css */
footer.portf {
  padding: 2rem;
  width: 100%;
}

.portf-legal {
  font-size: 0.875rem;
  color: #ccc;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

/* html_wrapper.base.css */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

