/* === Pattern F === */
.hero-f { position: relative; height: 100vh; min-height: 480px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.hero-f-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease-out; }
.hero-f:hover .hero-f-bg { transform: scale(1.12); }
.hero-f-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,41,75,0.7) 0%, rgba(19,41,75,0.85) 100%); }
.hero-f-inner { position: relative; z-index: 1; max-width: 720px; padding: 0 1.5rem; }
.hero-f-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; margin-bottom: 1.4rem; }
.hero-f h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-f-divider { width: 60px; height: 3px; background: var(--accent); margin: 1.2rem auto; }
.hero-f-sub { font-size: 1rem; opacity: 0.92; letter-spacing: 1px; }

/* === Pattern G === */
.hero-g { background: var(--primary); color: white; }
.hero-g-text { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem; text-align: center; }
.hero-g-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.7; margin-bottom: 1rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; }
.hero-g h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: 1.5px; margin-bottom: 0.8rem; }
.hero-g-sub { font-size: 0.95rem; opacity: 0.8; max-width: 600px; margin: 0 auto; }
.hero-g-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; height: 240px; }
.hero-g-cell { background-size: cover; background-position: center; position: relative; transition: filter 0.3s; }
.hero-g-cell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(19,41,75,0.6) 100%); }
.hero-g-cell-label { position: absolute; left: 1rem; bottom: 0.8rem; z-index: 1; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; color: white; }
@media (max-width: 768px) { .hero-g-strip { grid-template-columns: 1fr; height: auto; } .hero-g-cell { height: 140px; } }

/* === Pattern H === */
.hero-h { background: var(--card-bg); border-bottom: 1px solid var(--border); }
.hero-h-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 4fr 6fr; min-height: 540px; align-items: center; }
.hero-h-text { padding: 4rem 3rem 4rem 4rem; }
.hero-h-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; padding: 0.35rem 1rem; border: 1px solid var(--border); border-radius: 50px; background: var(--bg); }
.hero-h h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.3; color: var(--primary); margin-bottom: 1.2rem; }
.hero-h-divider { width: 50px; height: 3px; background: var(--accent); margin-bottom: 1.4rem; }
.hero-h-sub { font-size: 0.95rem; color: var(--text-light); line-height: 1.9; margin-bottom: 1.6rem; }
.hero-h-stats { display: flex; gap: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.hero-h-stat .v { font-size: 1.6rem; font-weight: 900; color: var(--primary); display: block; }
.hero-h-stat .l { font-size: 0.7rem; color: var(--text-light); letter-spacing: 1px; }
.hero-h-image { background-size: cover; background-position: center; min-height: 540px; position: relative; }
.hero-h-image::before { content: ''; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--accent); }
@media (max-width: 768px) { .hero-h-grid { grid-template-columns: 1fr; } .hero-h-text { padding: 2.5rem 1.5rem; } .hero-h-image { min-height: 240px; } .hero-h h1 { font-size: 1.8rem; } }

/* === Pattern I === */
.hero-i { background: var(--bg); padding-bottom: 4rem; }
.hero-i-photo { height: 380px; background-size: cover; background-position: center; position: relative; }
.hero-i-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(245,246,248,1) 100%); }
.hero-i-card { max-width: 880px; margin: -120px auto 0; background: white; padding: 3rem 3rem 2.5rem; box-shadow: 0 20px 60px rgba(19,41,75,0.12); border-radius: 4px; position: relative; z-index: 1; text-align: center; }
.hero-i-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.hero-i h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.5px; color: var(--primary); margin-bottom: 0.5rem; line-height: 1.4; }
.hero-i-divider { width: 50px; height: 2px; background: var(--accent); margin: 1.2rem auto; }
.hero-i-sub { font-size: 0.95rem; color: var(--text-light); }
@media (max-width: 768px) { .hero-i-photo { height: 220px; } .hero-i-card { margin: -60px 1rem 2rem; padding: 2rem 1.5rem; } .hero-i h1 { font-size: 1.6rem; } }

/* === Pattern J === */
.hero-j { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; padding: 4.5rem 1.5rem; position: relative; overflow: hidden; }
.hero-j-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero-j-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.7; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; }
.hero-j h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 1rem; }
.hero-j-sub { font-size: 0.95rem; opacity: 0.85; line-height: 2; }
.hero-j-cards { position: relative; height: 320px; }
.hero-j-card { position: absolute; width: 200px; height: 240px; background: white; padding: 8px 8px 28px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); transition: transform 0.4s; }
.hero-j-card-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-j-card1 { top: 20px; left: 0; transform: rotate(-6deg); }
.hero-j-card2 { top: 40px; left: 110px; transform: rotate(3deg); z-index: 1; }
.hero-j-card3 { top: 0; right: 10px; transform: rotate(8deg); }
.hero-j-cards:hover .hero-j-card1 { transform: rotate(-9deg) translateY(-4px); }
.hero-j-cards:hover .hero-j-card2 { transform: rotate(0deg) translateY(-8px); }
.hero-j-cards:hover .hero-j-card3 { transform: rotate(11deg) translateY(-4px); }
@media (max-width: 768px) { .hero-j-grid { grid-template-columns: 1fr; } .hero-j-cards { height: 280px; max-width: 360px; margin: 0 auto; } .hero-j h1 { font-size: 1.8rem; } }

/* === Pattern K === */
.hero-k { background: var(--primary); color: white; position: relative; overflow: hidden; }
.hero-k-mosaic { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 540px; }
.hero-k-cell { background-size: cover; background-position: center; position: relative; }
.hero-k-cell::after { content: ''; position: absolute; inset: 0; background: rgba(19,41,75,0.5); }
.hero-k-cell1 { grid-column: 1; grid-row: 1 / 3; }
.hero-k-cell2 { grid-column: 2; grid-row: 1; }
.hero-k-cell3 { grid-column: 2; grid-row: 2; }
.hero-k-cell4 { grid-column: 3 / 5; grid-row: 1 / 3; }
.hero-k-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; z-index: 1; padding: 0 1.5rem; }
.hero-k-text-inner { background: rgba(19,41,75,0.85); padding: 2.5rem 3rem; border: 1px solid rgba(255,255,255,0.15); max-width: 600px; }
.hero-k-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.75; margin-bottom: 1rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; }
.hero-k h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 0.8rem; }
.hero-k-sub { font-size: 0.95rem; opacity: 0.85; }
@media (max-width: 768px) { .hero-k-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 460px; } .hero-k-cell1 { grid-column: 1; grid-row: 1; } .hero-k-cell2 { grid-column: 2; grid-row: 1; } .hero-k-cell3 { grid-column: 1; grid-row: 2; } .hero-k-cell4 { grid-column: 2; grid-row: 2; } .hero-k-text-inner { padding: 1.5rem; } .hero-k h1 { font-size: 1.6rem; } }

/* === Pattern L === */
.hero-l { position: relative; height: 520px; background: var(--primary); overflow: hidden; color: white; }
.hero-l-img1 { position: absolute; inset: 0; width: 65%; background-size: cover; background-position: center; clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%); }
.hero-l-img2 { position: absolute; inset: 0; left: 60%; width: 45%; background-size: cover; background-position: center; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.85; }
.hero-l-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(19,41,75,0.55) 0%, rgba(19,41,75,0.3) 60%, rgba(19,41,75,0.7) 100%); }
.hero-l-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 3rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-l-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; margin-bottom: 1.2rem; align-self: flex-start; backdrop-filter: blur(4px); }
.hero-l h1 { font-size: 3rem; font-weight: 900; letter-spacing: 1px; line-height: 1.25; margin-bottom: 1rem; max-width: 600px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero-l-divider { width: 60px; height: 3px; background: var(--accent); margin-bottom: 1.2rem; }
.hero-l-sub { font-size: 1rem; max-width: 480px; opacity: 0.95; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
@media (max-width: 768px) { .hero-l { height: 380px; } .hero-l-inner { padding: 0 1.5rem; } .hero-l h1 { font-size: 1.8rem; } .hero-l-img1 { width: 100%; clip-path: none; } .hero-l-img2 { display: none; } }

/* === Pattern M === */
.hero-m { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; position: relative; overflow: hidden; padding: 5rem 1.5rem 0; }
.hero-m::before { content: ''; position: absolute; inset: 0; background: url('https://kensetsu-ltd.com/images/business/denki/main_01.jpg') center/cover; opacity: 0.18; }
.hero-m-inner { position: relative; max-width: 1080px; margin: 0 auto; text-align: center; padding-bottom: 2.5rem; }
.hero-m-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.75; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; }
.hero-m h1 { font-size: 3.2rem; font-weight: 900; letter-spacing: 2px; line-height: 1.2; margin-bottom: 1rem; }
.hero-m-sub { font-size: 1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.hero-m-ticker { background: var(--accent); color: white; overflow: hidden; padding: 0.9rem 0; position: relative; }
.hero-m-ticker-track { display: inline-block; white-space: nowrap; animation: ticker 24s linear infinite; padding-left: 100%; }
.hero-m-ticker span { font-size: 0.95rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; padding: 0 2.5rem; opacity: 0.95; }
.hero-m-ticker .dot { color: rgba(255,255,255,0.5); padding: 0 0.5rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (max-width: 768px) { .hero-m h1 { font-size: 1.8rem; } }

/* === Pattern N === */
.hero-n { background: var(--bg); padding: 5rem 1.5rem; }
.hero-n-inner { max-width: 1080px; margin: 0 auto; position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-n-circle { width: 380px; height: 380px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 30px 80px rgba(19,41,75,0.25); position: relative; }
.hero-n-circle::before { content: ''; position: absolute; inset: -16px; border-radius: 50%; border: 1px dashed rgba(19,41,75,0.25); }
.hero-n-circle::after { content: ''; position: absolute; inset: -32px; border-radius: 50%; border: 1px dashed rgba(19,41,75,0.12); }
.hero-n-text { position: absolute; left: 0; top: 50%; transform: translateY(-50%); max-width: 360px; }
.hero-n-text2 { position: absolute; right: 0; top: 50%; transform: translateY(-50%); max-width: 280px; text-align: right; }
.hero-n-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; padding: 0.35rem 1rem; background: white; border-radius: 50px; }
.hero-n h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.5px; color: var(--primary); line-height: 1.2; }
.hero-n-divider { width: 40px; height: 2px; background: var(--accent); margin: 1rem 0; }
.hero-n-text2 .hero-n-divider { margin-left: auto; }
.hero-n-sub { font-size: 0.85rem; color: var(--text-light); line-height: 1.8; }
.hero-n-tag { display: inline-block; padding: 0.4rem 0.8rem; background: var(--primary); color: white; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; border-radius: 3px; margin: 0.2rem 0.2rem 0.2rem 0; }
@media (max-width: 980px) { .hero-n-inner { flex-direction: column; gap: 2rem; } .hero-n-text, .hero-n-text2 { position: static; transform: none; text-align: center; } .hero-n-text2 .hero-n-divider { margin: 1rem auto; } .hero-n-circle { width: 280px; height: 280px; } .hero-n h1 { font-size: 1.8rem; } }

/* === Pattern O === */
.hero-o { position: relative; height: 540px; overflow: hidden; background: var(--primary); color: white; }
.hero-o-stripes { display: flex; height: 100%; }
.hero-o-stripe { flex: 1; background-size: cover; background-position: center; position: relative; transition: flex 0.5s ease; cursor: pointer; }
.hero-o-stripe::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,41,75,0.4) 0%, rgba(19,41,75,0.85) 100%); transition: opacity 0.3s; }
.hero-o-stripe:hover { flex: 2; }
.hero-o-stripe:hover::after { opacity: 0.5; }
.hero-o-stripe-name { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; z-index: 1; opacity: 0.95; color: white; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.hero-o-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; z-index: 2; padding: 0 1.5rem; pointer-events: none; }
.hero-o-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.5); border-radius: 50px; backdrop-filter: blur(4px); background: rgba(19,41,75,0.4); }
.hero-o h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: 1px; line-height: 1.2; margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-o-sub { font-size: 0.95rem; opacity: 0.9; max-width: 500px; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
@media (max-width: 768px) { .hero-o { height: 420px; } .hero-o h1 { font-size: 1.8rem; } .hero-o-stripe-name { display: none; } }

/* === Pattern P === */
.hero-p { background: var(--primary-dark); color: white; padding: 0; }
.hero-p-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; min-height: 520px; align-items: stretch; }
.hero-p-text { padding: 4rem 3rem 4rem 4rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.1); }
.hero-p-meta { font-size: 0.7rem; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 1.4rem; font-weight: 700; }
.hero-p-meta-row { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; }
.hero-p-meta-item { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }
.hero-p-meta-item span:first-child { opacity: 0.55; letter-spacing: 1px; }
.hero-p-meta-item span:last-child { font-weight: 700; }
.hero-p h1 { font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.4; margin-bottom: 1rem; }
.hero-p-sub { font-size: 0.9rem; opacity: 0.7; line-height: 1.9; }
.hero-p-image { background-size: cover; background-position: center; min-height: 520px; }
@media (max-width: 980px) { .hero-p-grid { grid-template-columns: 1fr; } .hero-p-image { min-height: 280px; order: -1; } .hero-p-text { padding: 2.5rem 1.5rem; border-right: none; } .hero-p h1 { font-size: 1.8rem; } }

/* === Pattern Q === */
.hero-q { background: black; color: white; padding: 0; }
.hero-q-cinema { position: relative; aspect-ratio: 21 / 9; max-height: 70vh; overflow: hidden; background: black; }
.hero-q-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-q-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%); }
.hero-q-letterbox-top, .hero-q-letterbox-bot { position: absolute; left: 0; right: 0; height: 60px; background: black; z-index: 2; display: flex; align-items: center; padding: 0 2rem; font-size: 0.72rem; letter-spacing: 4px; opacity: 0.6; }
.hero-q-letterbox-top { top: 0; }
.hero-q-letterbox-bot { bottom: 0; justify-content: flex-end; }
.hero-q-text { position: absolute; left: 0; right: 0; bottom: 80px; padding: 0 3rem; z-index: 1; }
.hero-q-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1rem; color: var(--accent); font-weight: 700; }
.hero-q h1 { font-size: 4rem; font-weight: 900; letter-spacing: 2px; line-height: 1.1; margin-bottom: 0.6rem; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
.hero-q-sub { font-size: 1rem; opacity: 0.85; max-width: 500px; letter-spacing: 1px; }
.hero-q-icons { background: black; padding: 1.5rem 2rem; display: flex; gap: 2rem; justify-content: center; }
.hero-q-icon { font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; opacity: 0.65; }
.hero-q-icon strong { display: block; font-size: 1.2rem; color: var(--accent); margin-bottom: 0.2rem; }
@media (max-width: 768px) { .hero-q h1 { font-size: 2rem; } .hero-q-text { padding: 0 1.5rem; bottom: 70px; } .hero-q-letterbox-top, .hero-q-letterbox-bot { height: 40px; padding: 0 1rem; } .hero-q-icons { flex-wrap: wrap; gap: 1rem; padding: 1rem; } }

/* === Pattern R === */
.hero-r { background: linear-gradient(180deg, var(--bg) 0%, #e8ebf2 100%); padding: 4rem 1.5rem; min-height: 520px; display: flex; align-items: center; }
.hero-r-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; width: 100%; }
.hero-r-card { background: white; padding: 2.8rem; border-radius: 8px; box-shadow: 0 12px 40px rgba(19,41,75,0.1); position: relative; }
.hero-r-card-left::before { content: ''; position: absolute; left: 0; top: 2.8rem; bottom: 2.8rem; width: 4px; background: var(--accent); border-radius: 0 4px 4px 0; }
.hero-r-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero-r h1 { font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1.3; margin-bottom: 0.8rem; }
.hero-r-sub { font-size: 0.92rem; color: var(--text-light); line-height: 1.9; margin-bottom: 1.4rem; }
.hero-r-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hero-r-tag { font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.8rem; background: var(--bg); border-radius: 50px; color: var(--primary); }
.hero-r-card-right { padding: 0; overflow: hidden; }
.hero-r-photo { height: 220px; background-size: cover; background-position: center; }
.hero-r-stats { padding: 1.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-r-stat { border-left: 2px solid var(--accent); padding-left: 0.8rem; }
.hero-r-stat .v { display: block; font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.hero-r-stat .l { font-size: 0.7rem; color: var(--text-light); letter-spacing: 1px; }
@media (max-width: 768px) { .hero-r-grid { grid-template-columns: 1fr; } .hero-r-card { padding: 2rem; } .hero-r h1 { font-size: 1.6rem; } }

/* === Pattern S === */
.hero-s { position: relative; min-height: 560px; overflow: hidden; background: var(--primary); }
.hero-s-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 4px; padding: 4px; }
.hero-s-tile { background-size: cover; background-position: center; opacity: 0.5; transition: opacity 0.5s; }
.hero-s:hover .hero-s-tile { opacity: 0.7; }
.hero-s-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(19,41,75,0.4) 0%, rgba(19,41,75,0.92) 70%); }
.hero-s-text { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 5rem 2rem; text-align: center; color: white; }
.hero-s-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; }
.hero-s h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero-s-divider { width: 60px; height: 3px; background: var(--accent); margin: 1.2rem auto; }
.hero-s-sub { font-size: 0.95rem; opacity: 0.92; }
@media (max-width: 768px) { .hero-s-tiles { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); } .hero-s h1 { font-size: 1.8rem; } }

/* === Pattern T === */
.hero-t { background: var(--primary); color: white; padding: 5rem 1.5rem 3rem; text-align: center; overflow: hidden; position: relative; }
.hero-t::before { content: ''; position: absolute; inset: 0; background: url('https://kensetsu-ltd.com/images/business/denki/main_01.jpg') center/cover; opacity: 0.18; }
.hero-t-inner { position: relative; max-width: 1080px; margin: 0 auto; }
.hero-t-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; opacity: 0.7; margin-bottom: 1.4rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; }
.hero-t h1 { font-size: clamp(2.8rem, 7vw, 6.5rem); font-weight: 900; letter-spacing: -2px; line-height: 0.95; margin-bottom: 1.2rem; }
.hero-t h1 span { display: block; }
.hero-t h1 .accent { color: var(--accent); }
.hero-t-divider { width: 80px; height: 3px; background: var(--accent); margin: 1.2rem auto; }
.hero-t-sub { font-size: 1rem; opacity: 0.88; max-width: 600px; margin: 0 auto; letter-spacing: 1px; }
.hero-t-mini-row { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.hero-t-mini { width: 110px; height: 70px; background-size: cover; background-position: center; border-radius: 4px; opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.hero-t-mini:hover { opacity: 1; transform: translateY(-4px); }
@media (max-width: 768px) { .hero-t-mini { width: 80px; height: 50px; } }

/* === Pattern U === */
.hero-u { position: relative; min-height: 540px; background: var(--card-bg); overflow: hidden; }
.hero-u-inner { max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem 5rem 4rem; max-width: 600px; position: relative; z-index: 1; }
.hero-u-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; padding: 0.35rem 1rem; background: var(--bg); border-radius: 50px; }
.hero-u h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.25; color: var(--primary); margin-bottom: 1.2rem; }
.hero-u-divider { width: 60px; height: 3px; background: var(--accent); margin-bottom: 1.4rem; }
.hero-u-sub { font-size: 0.95rem; color: var(--text-light); line-height: 1.9; margin-bottom: 1.4rem; }
.hero-u-image-wrap { position: absolute; right: -8%; top: 5%; bottom: 5%; width: 60%; transform: rotate(-2deg); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(19,41,75,0.25); }
.hero-u-image { width: 100%; height: 100%; background-size: cover; background-position: center; transform: rotate(2deg) scale(1.1); }
.hero-u-badge { position: absolute; top: 4rem; right: 8%; background: var(--accent); color: white; padding: 0.6rem 1.2rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; transform: rotate(-3deg); z-index: 2; box-shadow: 0 6px 20px rgba(200,16,46,0.3); }
@media (max-width: 980px) { .hero-u-image-wrap { position: relative; right: 0; width: calc(100% + 3rem); margin-left: -1.5rem; transform: none; height: 280px; margin-top: 2rem; border-radius: 0; } .hero-u-image { transform: scale(1.1); } .hero-u-inner { padding: 3rem 1.5rem; } .hero-u h1 { font-size: 1.8rem; } .hero-u-badge { display: none; } }

/* === Pattern V === */
.hero-v { background: #0a0a0a; color: white; padding: 0; }
.hero-v-strip { background: #1a1a1a; padding: 14px 0; position: relative; display: flex; gap: 4px; overflow: hidden; }
.hero-v-strip::before, .hero-v-strip::after { content: ''; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, #1a1a1a 0 16px, transparent 16px 24px, #1a1a1a 24px 28px); }
.hero-v-strip::before { top: 0; background-color: black; }
.hero-v-strip::after { bottom: 0; background-color: black; }
.hero-v-frame { flex: 1; height: 200px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero-v-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.5); }
.hero-v-text { padding: 3.5rem 2rem 4rem; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-v-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; font-weight: 700; }
.hero-v h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: 1px; line-height: 1.3; margin-bottom: 1rem; }
.hero-v-divider { width: 60px; height: 2px; background: var(--accent); margin: 1.2rem auto; }
.hero-v-sub { font-size: 0.95rem; opacity: 0.85; }
@media (max-width: 768px) { .hero-v-frame { height: 120px; } .hero-v h1 { font-size: 1.8rem; } }

/* === Pattern W === */
.hero-w { background: #faf7f0; padding: 5rem 1.5rem; min-height: 540px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-w::before { content: ''; position: absolute; inset: 0; background: url('https://kensetsu-ltd.com/images/business/denki/main_01.jpg') center/cover; opacity: 0.08; }
.hero-w-inner { position: relative; text-align: center; }
.hero-w-stamp { width: 300px; height: 300px; border-radius: 50%; border: 5px double var(--accent); display: flex; align-items: center; justify-content: center; flex-direction: column; margin: 0 auto 2rem; transform: rotate(-6deg); background: rgba(255,255,255,0.6); position: relative; }
.hero-w-stamp::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid var(--accent); }
.hero-w-stamp-top { font-size: 0.78rem; letter-spacing: 8px; color: var(--accent); font-weight: 700; margin-bottom: 0.4rem; }
.hero-w-stamp h1 { font-size: 1.8rem; font-weight: 900; color: var(--accent); line-height: 1.3; padding: 0 2rem; margin-bottom: 0.4rem; }
.hero-w-stamp-bottom { font-size: 0.72rem; letter-spacing: 6px; color: var(--accent); opacity: 0.8; margin-top: 0.4rem; }
.hero-w-text { max-width: 500px; margin: 0 auto; }
.hero-w-text p { font-size: 0.92rem; color: var(--text); line-height: 2; }
.hero-w-tags { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.hero-w-tag { font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.9rem; border: 1px solid var(--primary); color: var(--primary); border-radius: 2px; background: white; }
@media (max-width: 768px) { .hero-w-stamp { width: 240px; height: 240px; } .hero-w-stamp h1 { font-size: 1.3rem; padding: 0 1.5rem; } }

/* === Pattern X === */
.hero-x { background: white; padding: 0; position: relative; min-height: 540px; display: grid; grid-template-columns: auto 1fr auto; }
.hero-x-vertical { writing-mode: vertical-rl; padding: 3rem 1.5rem; font-size: 0.78rem; letter-spacing: 6px; color: var(--primary); border-left: 1px solid var(--border); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--bg); }
.hero-x-vertical-r { background: var(--primary); color: white; }
.hero-x-center { padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; background: linear-gradient(135deg, white 0%, #f9f6f0 100%); }
.hero-x-center::before { content: ''; position: absolute; left: 50%; top: 2rem; bottom: 2rem; width: 1px; background: linear-gradient(180deg, transparent, var(--accent), transparent); opacity: 0.3; }
.hero-x-mark { font-size: 4rem; color: var(--accent); margin-bottom: 1rem; line-height: 1; opacity: 0.85; font-weight: 100; }
.hero-x-label { font-size: 0.72rem; letter-spacing: 5px; color: var(--accent); margin-bottom: 1.2rem; text-transform: uppercase; }
.hero-x h1 { font-size: 2.6rem; font-weight: 900; color: var(--primary); letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 1rem; }
.hero-x-sub { font-size: 0.92rem; color: var(--text-light); line-height: 2; max-width: 480px; }
.hero-x-photo-strip { display: flex; gap: 0.4rem; margin-top: 2rem; }
.hero-x-photo { width: 90px; height: 70px; background-size: cover; background-position: center; border-radius: 2px; }
@media (max-width: 768px) { .hero-x { grid-template-columns: 1fr; } .hero-x-vertical { display: none; } .hero-x-center { padding: 3rem 1.5rem; } .hero-x h1 { font-size: 1.8rem; } }

/* === Pattern Y === */
.hero-y { position: relative; height: 540px; overflow: hidden; background: var(--primary); }
.hero-y-img { position: absolute; inset: 0; background-size: cover; background-position: center; clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%); }
.hero-y-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(19,41,75,0.3) 0%, rgba(19,41,75,0.7) 100%); }
.hero-y-text-wrap { position: absolute; inset: 0; clip-path: polygon(65% 100%, 100% 0, 100% 100%); background: var(--primary); }
.hero-y-text-wrap::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 20px, rgba(255,255,255,0.03) 20px 40px); }
.hero-y-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 0 3rem; height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-y-text { color: white; padding-left: 2rem; }
.hero-y-text-empty { }
.hero-y-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; }
.hero-y h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: 0.5px; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-y-divider { width: 50px; height: 3px; background: var(--accent); margin-bottom: 1.2rem; }
.hero-y-sub { font-size: 0.95rem; opacity: 0.92; max-width: 380px; }
@media (max-width: 768px) { .hero-y { height: 480px; } .hero-y-img { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); } .hero-y-text-wrap { clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); } .hero-y-inner { grid-template-columns: 1fr; padding: 0 1.5rem; } .hero-y-text { padding-left: 0; padding-top: 50%; } .hero-y h1 { font-size: 1.6rem; } }

/* === Pattern Z === */
.hero-z { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: white; box-shadow: inset 0 0 30px rgba(0,0,0,0.1); }
.hero-z-left { background-size: cover; background-position: center; position: relative; }
.hero-z-left::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 30px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15)); }
.hero-z-right { padding: 4rem 3.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; background: white; }
.hero-z-right::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 30px; background: linear-gradient(270deg, transparent, rgba(0,0,0,0.08)); }
.hero-z-pageinfo { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-light); letter-spacing: 3px; }
.hero-z-pageinfo strong { color: var(--accent); font-weight: 700; }
.hero-z-content { padding: 2rem 0; }
.hero-z-issue { font-family: 'Noto Serif JP', serif; font-size: 0.78rem; letter-spacing: 4px; color: var(--accent); margin-bottom: 0.8rem; text-transform: uppercase; }
.hero-z h1 { font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.3; color: var(--primary); margin-bottom: 1rem; }
.hero-z-lead { font-size: 1rem; color: var(--text); line-height: 1.9; margin-bottom: 1.2rem; font-weight: 500; }
.hero-z-sub { font-size: 0.88rem; color: var(--text-light); line-height: 1.9; }
.hero-z-footer { padding-top: 1.4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-light); letter-spacing: 2px; }
@media (max-width: 768px) { .hero-z { grid-template-columns: 1fr; } .hero-z-left { height: 240px; } .hero-z-right { padding: 2.5rem 1.5rem; } .hero-z h1 { font-size: 1.8rem; } }

/* === Pattern AA === */
.hero-aa { position: relative; height: 600px; background: var(--primary); overflow: hidden; perspective: 1px; }
.hero-aa-layer1 { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; transform: scale(1.1); filter: blur(2px); }
.hero-aa-layer2 { position: absolute; inset: 10% 5%; background-size: cover; background-position: center; opacity: 0.7; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.hero-aa-layer2::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,41,75,0.4) 0%, rgba(19,41,75,0.85) 100%); }
.hero-aa-layer3 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: white; text-align: center; padding: 0 1.5rem; z-index: 2; }
.hero-aa-tag-row { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; }
.hero-aa-tag { font-size: 0.7rem; padding: 0.35rem 0.8rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 3px; backdrop-filter: blur(8px); letter-spacing: 1px; }
.hero-aa-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.2rem; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; }
.hero-aa h1 { font-size: 3.4rem; font-weight: 900; letter-spacing: 1px; line-height: 1.2; margin-bottom: 1rem; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
.hero-aa-divider { width: 80px; height: 3px; background: var(--accent); margin: 1.2rem auto; }
.hero-aa-sub { font-size: 1rem; opacity: 0.9; max-width: 540px; line-height: 1.9; }
.hero-aa-mini-strip { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 3; }
.hero-aa-mini { width: 60px; height: 40px; background-size: cover; background-position: center; border-radius: 2px; opacity: 0.7; transition: opacity 0.3s; }
.hero-aa-mini:hover { opacity: 1; }
@media (max-width: 768px) { .hero-aa { height: 500px; } .hero-aa h1 { font-size: 2rem; } .hero-aa-mini { width: 44px; height: 30px; } }

/* === Pattern AB === */
.hero-ab { position: relative; min-height: 500px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; overflow: hidden; padding: 4rem 1.5rem; display: flex; align-items: center; }
.hero-ab::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 22px), repeating-linear-gradient(-45deg, transparent 0 20px, rgba(0,0,0,0.08) 20px 22px); }
.hero-ab-grid { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; width: 100%; }
.hero-ab-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 2px solid var(--accent); color: var(--accent); margin-bottom: 1.4rem; font-weight: 700; }
.hero-ab h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: 1px; line-height: 1.25; margin-bottom: 1rem; text-transform: uppercase; }
.hero-ab-divider { width: 60px; height: 4px; background: var(--accent); margin-bottom: 1.2rem; }
.hero-ab-sub { font-size: 0.95rem; opacity: 0.92; line-height: 1.9; }
.hero-ab-img { background-size: cover; background-position: center; height: 360px; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%); border-top: 4px solid var(--accent); border-bottom: 4px solid var(--accent); }
@media (max-width: 768px) { .hero-ab-grid { grid-template-columns: 1fr; } .hero-ab-img { height: 220px; } .hero-ab h1 { font-size: 1.8rem; } }

/* === Pattern AC === */
.hero-ac { position: relative; min-height: 540px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%); color: white; overflow: hidden; padding: 5rem 1.5rem; }
.hero-ac::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.07) 50%, transparent 75%); animation: ac-shine 8s ease-in-out infinite; }
@keyframes ac-shine { 0%, 100% { transform: translateX(-25%); } 50% { transform: translateX(25%); } }
.hero-ac-inner { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.hero-ac-ornament { width: 80px; height: 1px; background: var(--accent); margin: 0 auto 1.5rem; position: relative; }
.hero-ac-ornament::before, .hero-ac-ornament::after { content: ''; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hero-ac-ornament::before { left: -14px; }
.hero-ac-ornament::after { right: -14px; }
.hero-ac-label { display: inline-block; font-size: 0.7rem; letter-spacing: 6px; text-transform: uppercase; padding: 0.4rem 1.4rem; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 1.4rem; }
.hero-ac h1 { font-family: 'Noto Serif JP', 'Yu Mincho', serif; font-size: 3rem; font-weight: 700; letter-spacing: 2px; line-height: 1.4; margin-bottom: 1.2rem; }
.hero-ac-sub { font-family: 'Noto Serif JP', serif; font-size: 1rem; opacity: 0.88; max-width: 600px; margin: 0 auto; letter-spacing: 1px; line-height: 2; }
.hero-ac-frame { position: absolute; inset: 1.5rem; border: 1px solid var(--accent); pointer-events: none; opacity: 0.3; }
@media (max-width: 768px) { .hero-ac h1 { font-size: 1.8rem; } }

/* === Pattern AD === */
.hero-ad { position: relative; min-height: 580px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%); color: white; overflow: hidden; }
.hero-ad-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.06; }
.hero-ad-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, var(--accent) 0%, transparent 60%); opacity: 0.15; filter: blur(20px); pointer-events: none; }
.hero-ad-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; z-index: 1; }
.hero-ad-bracket { font-family: 'Courier New', monospace; font-size: 0.78rem; letter-spacing: 4px; color: var(--accent); margin-bottom: 1rem; opacity: 0.85; }
.hero-ad-label { display: inline-block; font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 1.4rem; backdrop-filter: blur(4px); background: rgba(0,0,0,0.3); }
.hero-ad h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: 2px; line-height: 1.2; margin-bottom: 1rem; text-shadow: 0 0 20px var(--accent); }
.hero-ad-divider { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin: 1.2rem auto; }
.hero-ad-sub { font-size: 0.95rem; opacity: 0.88; max-width: 600px; margin: 0 auto; line-height: 1.9; }
.hero-ad-coords { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; font-family: 'Courier New', monospace; font-size: 0.74rem; color: var(--accent); opacity: 0.75; letter-spacing: 2px; }
@media (max-width: 768px) { .hero-ad h1 { font-size: 1.8rem; } .hero-ad-coords { flex-wrap: wrap; gap: 0.8rem; } }

/* === Pattern AE === */
.hero-ae { position: relative; min-height: 520px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; overflow: hidden; padding: 5rem 1.5rem; display: flex; align-items: center; }
.hero-ae::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.04) 14px 15px); }
.hero-ae-frame { position: absolute; inset: 2rem; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); pointer-events: none; opacity: 0.5; }
.hero-ae-inner { position: relative; max-width: 980px; margin: 0 auto; text-align: center; width: 100%; }
.hero-ae-kanji { font-family: 'Noto Serif JP', serif; font-size: 4rem; color: var(--accent); opacity: 0.4; line-height: 1; margin-bottom: 1rem; font-weight: 100; letter-spacing: 8px; }
.hero-ae-label { display: inline-block; font-size: 0.72rem; letter-spacing: 8px; padding: 0.4rem 1.5rem; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 1.4rem; }
.hero-ae h1 { font-family: 'Noto Serif JP', 'Yu Mincho', serif; font-size: 2.8rem; font-weight: 700; letter-spacing: 4px; line-height: 1.5; margin-bottom: 1rem; }
.hero-ae-double-line { width: 200px; margin: 1.4rem auto; height: 6px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); opacity: 0.7; }
.hero-ae-sub { font-family: 'Noto Serif JP', serif; font-size: 0.95rem; opacity: 0.88; letter-spacing: 2px; line-height: 2; }
@media (max-width: 768px) { .hero-ae-kanji { font-size: 2.5rem; } .hero-ae h1 { font-size: 1.8rem; } .hero-ae-frame { inset: 1rem; } }

/* === Pattern AF === */
.hero-af { background: var(--primary); color: white; padding: 0; }
.hero-af-text { padding: 4rem 1.5rem 2rem; max-width: 1080px; margin: 0 auto; text-align: center; }
.hero-af-label { display: inline-block; font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 3px; margin-bottom: 1.2rem; opacity: 0.9; }
.hero-af h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 0.8rem; }
.hero-af-sub { font-size: 0.95rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.hero-af-tiles { display: grid; grid-template-columns: repeat(4, 1fr); height: 280px; gap: 6px; padding: 6px; background: var(--primary-dark); }
.hero-af-tile { background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero-af-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%); }
.hero-af-tile-num { position: absolute; left: 0.8rem; top: 0.8rem; z-index: 1; background: var(--accent); color: white; padding: 0.2rem 0.6rem; font-size: 0.7rem; font-weight: 700; border-radius: 2px; }
@media (max-width: 768px) { .hero-af-tiles { grid-template-columns: 1fr 1fr; height: auto; } .hero-af-tile { height: 140px; } .hero-af h1 { font-size: 1.8rem; } }

/* === Pattern AG === */
.hero-ag { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; padding: 5rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.hero-ag::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%); width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent); }
.hero-ag-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-ag-deco-top, .hero-ag-deco-bot { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1rem 0; opacity: 0.8; }
.hero-ag-deco-top::before, .hero-ag-deco-top::after, .hero-ag-deco-bot::before, .hero-ag-deco-bot::after { content: ''; flex: 0 1 100px; height: 1px; background: var(--accent); }
.hero-ag-deco-icon { font-size: 0.78rem; letter-spacing: 4px; color: var(--accent); font-weight: 700; }
.hero-ag-label { display: inline-block; font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; padding: 0.4rem 1.2rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; margin-bottom: 1.4rem; }
.hero-ag h1 { font-size: 3rem; font-weight: 900; letter-spacing: 1px; line-height: 1.25; margin-bottom: 1rem; }
.hero-ag-sub { font-size: 1rem; opacity: 0.92; line-height: 2; max-width: 540px; margin: 0 auto; }
@media (max-width: 768px) { .hero-ag h1 { font-size: 1.8rem; } }

/* === Pattern AH === */
.hero-ah { position: relative; height: 560px; overflow: hidden; color: white; background: var(--primary); }
.hero-ah-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-ah-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 80%); }
.hero-ah-text { position: absolute; left: 0; bottom: 0; padding: 2.5rem 3rem; max-width: 600px; z-index: 1; }
.hero-ah-label { display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; padding: 0.4rem 1.2rem; background: var(--accent); color: white; margin-bottom: 1.2rem; font-weight: 700; }
.hero-ah h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: 0.5px; line-height: 1.3; margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.hero-ah-sub { font-size: 1rem; opacity: 0.95; line-height: 1.9; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-ah-info-panel { position: absolute; right: 3rem; bottom: 3rem; background: rgba(255,255,255,0.95); color: var(--text); padding: 1.5rem 1.8rem; border-left: 4px solid var(--accent); backdrop-filter: blur(8px); z-index: 1; }
.hero-ah-info-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; font-size: 0.82rem; }
.hero-ah-info-panel dt { color: var(--text-light); font-weight: 600; }
.hero-ah-info-panel dd { color: var(--primary); font-weight: 700; }
@media (max-width: 980px) { .hero-ah-info-panel { display: none; } .hero-ah-text { padding: 2rem 1.5rem; } .hero-ah h1 { font-size: 1.8rem; } }

/* === Pattern AI === */
.hero-ai { background: var(--bg); color: var(--text); padding: 5rem 1.5rem 4rem; position: relative; }
.hero-ai-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.hero-ai-text { }
.hero-ai-label { display: inline-block; font-size: 0.72rem; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; font-weight: 700; }
.hero-ai h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; color: var(--primary); margin-bottom: 1rem; }
.hero-ai-divider { width: 40px; height: 4px; background: var(--accent); margin-bottom: 1.4rem; }
.hero-ai-sub { font-size: 1rem; color: var(--text-light); line-height: 1.9; max-width: 520px; }
.hero-ai-stamp { width: 140px; height: 140px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 12px 30px rgba(19,41,75,0.2); border: 4px solid white; flex-shrink: 0; }
.hero-ai-meta { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-ai-meta-item { font-size: 0.78rem; }
.hero-ai-meta-item strong { display: block; color: var(--primary); font-size: 1rem; font-weight: 800; margin-bottom: 0.1rem; }
.hero-ai-meta-item span { color: var(--text-light); letter-spacing: 1px; }
@media (max-width: 768px) { .hero-ai-inner { grid-template-columns: 1fr; gap: 2rem; } .hero-ai-stamp { width: 100px; height: 100px; } }