/*
Theme Name: Viralit
Theme URI: https://viralit.com
Author: Viralit
Author URI: https://viralit.com
Description: Horizontal scrolling website for Viralit - Design / WEB Marketing Agency
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viralit
*/

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #F5F2EC;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* Horizontal scroll wrapper */
.horizontal-scroll-wrapper {
  height: 100vh;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Section base styles */
.section {
  display: inline-block;
  width: 100vw;
  height: 100vh;
  vertical-align: top;
  white-space: normal;
  position: relative;
  overflow: hidden;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  padding: 8vh 10vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section headers */
.section-header {
  margin-bottom: 8vh;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 8vh;
  color: #111;
  opacity: 0.5;
}

.section-number {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5vh;
  color: #111;
  opacity: 0.4;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 10vw, 12rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: #111;
  text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  background: #F5F2EC;
  position: relative;
}

/* Parallax Layers */
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.layer-1 {
  z-index: 1;
}

.layer-2 {
  z-index: 2;
}

.layer-3 {
  z-index: 3;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 5;
}

.hero-title-wrapper {
  position: relative;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 20vw, 28rem);
  line-height: 0.85;
  letter-spacing: 0.05em;
  color: #111;
  margin: 0;
  font-weight: 400;
}

.accent-line {
  width: 40%;
  height: 12px;
  background: #C8FF00;
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 2rem);
  letter-spacing: 0.1em;
  font-weight: 300;
  color: #111;
  opacity: 0.7;
}

.stripe {
  position: absolute;
  height: 2px;
  background: #C8FF00;
  right: 0;
}

.stripe-1 {
  top: 20%;
  width: 30%;
}

.stripe-2 {
  bottom: 25%;
  width: 20%;
}

/* About Section */
.about-section {
  background: rgba(245, 242, 236, 0.7);
  backdrop-filter: blur(10px);
}

.about-section .section-label {
  color: #111;
  opacity: 0.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 3vh;
}

.about-name {
  font-size: 2rem;
  font-weight: 400;
  color: #111;
  margin: 0;
}

.about-role {
  font-size: 0.95rem;
  color: #111;
  opacity: 0.6;
  margin: 0;
}

.about-description {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #111;
  opacity: 0.8;
  margin: 0;
  font-weight: 300;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  padding-top: 2vh;
}

.info-block {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2vw;
  padding: 2vh 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.info-label {
  font-size: 0.85rem;
  color: #111;
  opacity: 0.5;
}

.info-value {
  font-size: 0.9rem;
  color: #111;
  font-weight: 400;
  line-height: 1.6;
}

.vertical-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.v-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(17, 17, 17, 0.1) 20%, rgba(17, 17, 17, 0.1) 80%, transparent);
}

/* Services Section */
.services-section {
  background: #111;
  color: #F5F2EC;
}

.services-section .section-label {
  color: #F5F2EC;
  opacity: 0.5;
}

.capability-number {
  position: absolute;
  top: 8vh;
  right: 10vw;
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 8vw, 10rem);
  color: #F5F2EC;
  opacity: 0.15;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  align-items: flex-start;
}

.services-left {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.service-item {
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 400;
  color: #F5F2EC;
  line-height: 1.3;
}

.services-right {
  padding-top: 2vh;
}

.services-description {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #F5F2EC;
  opacity: 0.7;
  font-weight: 300;
  margin: 0;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(200, 255, 0, 0.03) 35px,
      rgba(200, 255, 0, 0.03) 70px
    );
  pointer-events: none;
}

/* Works Section */
.works-section {
  background: #F5F2EC;
}

.diagonal-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.d-line {
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 255, 0, 0.3) 30%, rgba(200, 255, 0, 0.3) 70%, transparent);
  transform: rotate(-15deg);
  transform-origin: center;
}

.d-line:nth-child(1) {
  top: 20%;
  left: -50%;
}

.d-line:nth-child(2) {
  top: 50%;
  left: -50%;
}

.d-line:nth-child(3) {
  top: 80%;
  left: -50%;
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 4vh;
}

.work-item {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 4vw;
  align-items: center;
  padding: 3vh 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  transition: all 0.3s ease;
}

.work-item:hover {
  padding-left: 2vw;
  border-bottom-color: #C8FF00;
}

.work-year {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: #111;
  opacity: 0.4;
}

.work-name {
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  font-weight: 400;
  color: #111;
}

.work-category {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  opacity: 0.5;
  text-align: right;
}

/* Contact Section */
.contact-section {
  background: #C8FF00;
  color: #111;
}

.contact-section .section-title,
.contact-section .section-number {
  color: #111;
}

.circle-accent {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  top: 50%;
  right: -25vw;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-content {
  display: flex;
  gap: 10vw;
  align-items: flex-start;
}

.contact-tagline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #111;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4vh;
}

.contact-email {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 400;
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #111;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.contact-email:hover {
  opacity: 0.6;
}

.contact-address {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #111;
  opacity: 0.7;
  font-weight: 300;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4vh 10vw;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 3vw;
}

.footer-links a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 6vh 6vw;
  }
  
  .about-grid,
  .services-layout,
  .contact-content {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 6vh;
  }
  
  .work-item {
    grid-template-columns: 80px 1fr;
    gap: 4vw;
  }
  
  .work-category {
    grid-column: 2;
    text-align: left;
    margin-top: 1vh;
  }
}
.hero-section {
  background: #000;
  position: relative;
  isolation: isolate; /* ←これが鍵 */
}
