@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========== Ethereal Bloom Design System ========== */
:root {
  --primary-blue: #0000FF;
  --primary-purple: #8B00FF;
  --primary-red: #FF0000;
  --accent-gold: #edb43d;
  --brand-gradient: linear-gradient(135deg, var(--primary-blue), #8B00FF, var(--primary-red));
  --concafe-pink: #e95295;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --section-padding: 120px 0;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Brand gradient utilities */
.brand-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-gradient-bg {
  background: var(--brand-gradient);
}

/* ========== Typography ========== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.3;
}

/* Section common styles */
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-purple);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--primary-purple);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 2;
  max-width: 700px;
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.7rem; }
}

/* ========== Header & Navigation ========== */

/* Fixed header base */
.l-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent !important;
}

/* Glassmorphism on scroll — SWELL uses data-scrolled attribute and .l-fixHeader */
[data-scrolled="true"] .l-header,
.l-fixHeader {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

/* Nav menu links */
.c-gnav a,
.l-header__gnav a,
.l-fixHeader__gnav a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

/* Gradient underline on hover */
.c-gnav a::after,
.l-header__gnav a::after,
.l-fixHeader__gnav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.c-gnav a:hover::after,
.l-header__gnav a:hover::after,
.l-fixHeader__gnav a:hover::after {
  width: 100%;
}

/* Logo sizing */
.l-header__logo img,
.l-fixHeader__logo img,
.c-headLogo img {
  height: 36px;
  width: auto;
}

/* Mobile hamburger */
@media (max-width: 768px) {
  .l-header {
    padding: 12px 0;
  }
}

/* ========== DES-004: Loading Screen ========== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0000FF, #8B00FF, #FF0000);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.loading-petals-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.loading-petal {
  position: absolute;
  width: 12px;
  height: 30px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  top: 50%;
  left: 50%;
  transform-origin: 50% 0%;
  animation: petalSpin 2.4s ease-in-out infinite;
}

.loading-petal:nth-child(1) {
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(0deg) translateY(-20px);
  animation-delay: 0s;
}

.loading-petal:nth-child(2) {
  background: rgba(255, 200, 200, 0.9);
  transform: rotate(72deg) translateY(-20px);
  animation-delay: 0.15s;
}

.loading-petal:nth-child(3) {
  background: rgba(200, 200, 255, 0.9);
  transform: rotate(144deg) translateY(-20px);
  animation-delay: 0.3s;
}

.loading-petal:nth-child(4) {
  background: rgba(255, 230, 200, 0.9);
  transform: rotate(216deg) translateY(-20px);
  animation-delay: 0.45s;
}

.loading-petal:nth-child(5) {
  background: rgba(200, 255, 200, 0.9);
  transform: rotate(288deg) translateY(-20px);
  animation-delay: 0.6s;
}

@keyframes petalSpin {
  0%, 100% {
    opacity: 0.3;
    transform: rotate(var(--r, 0deg)) translateY(-20px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: rotate(var(--r, 0deg)) translateY(-20px) scale(1.2);
  }
}

.loading-petal:nth-child(1) { --r: 0deg; }
.loading-petal:nth-child(2) { --r: 72deg; }
.loading-petal:nth-child(3) { --r: 144deg; }
.loading-petal:nth-child(4) { --r: 216deg; }
.loading-petal:nth-child(5) { --r: 288deg; }

.loading-text {
  margin-top: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.9);
  animation: loadingFade 1.5s ease-in-out infinite;
}

@keyframes loadingFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ========== DES-005: Floating Petals Background Effect ========== */
.floating-petals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.float-petal {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.15;
  animation: floatDown linear infinite;
}

.float-petal:nth-child(1) {
  width: 10px;
  height: 16px;
  background: var(--primary-purple);
  left: 10%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.float-petal:nth-child(2) {
  width: 8px;
  height: 13px;
  background: var(--concafe-pink);
  left: 30%;
  animation-duration: 16s;
  animation-delay: 2s;
}

.float-petal:nth-child(3) {
  width: 12px;
  height: 18px;
  background: var(--primary-blue);
  left: 50%;
  animation-duration: 12s;
  animation-delay: 4s;
}

.float-petal:nth-child(4) {
  width: 6px;
  height: 10px;
  background: var(--primary-red);
  left: 70%;
  animation-duration: 18s;
  animation-delay: 1s;
}

.float-petal:nth-child(5) {
  width: 9px;
  height: 14px;
  background: var(--accent-gold);
  left: 85%;
  animation-duration: 15s;
  animation-delay: 3s;
}

.float-petal:nth-child(6) {
  width: 7px;
  height: 12px;
  background: var(--primary-purple);
  left: 95%;
  animation-duration: 13s;
  animation-delay: 5s;
}

@keyframes floatDown {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ========== DES-006: Scroll Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }

/* ========== DES-007: Button Components ========== */
.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline-white {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 60px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  text-align: center;
}

.btn-primary::before,
.btn-secondary::before,
.btn-white::before,
.btn-outline-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-white:hover::before,
.btn-outline-white:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 0, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-purple);
  border: 1px solid var(--primary-purple);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 0, 255, 0.15);
}

.btn-white {
  background: #ffffff;
  color: var(--primary-purple);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ========== DES-008: Glassmorphism Card ========== */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ========== DES-009: Wave Divider ========== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('/wp-content/uploads/2026/03/hero.png') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(250, 245, 255, 0.65) 0%, rgba(255, 245, 248, 0.6) 30%, rgba(245, 240, 255, 0.65) 60%, rgba(255, 255, 255, 0.6) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse, rgba(139, 0, 255, 0.06), rgba(233, 82, 149, 0.04), transparent);
  animation: organicFloat 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50% 60% 40% 50% / 40% 50% 60% 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 255, 0.04), rgba(139, 0, 255, 0.03), transparent);
  animation: organicFloat 25s ease-in-out infinite reverse;
}

@keyframes organicFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(30px, -20px) rotate(5deg) scale(1.05); }
  50% { transform: translate(-20px, 20px) rotate(-3deg) scale(0.98); }
  75% { transform: translate(15px, 10px) rotate(4deg) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-catch {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub { font-size: 1rem; line-height: 2.2; color: var(--text-light); margin-bottom: 20px; font-weight: 300; }
.hero-sub-accent { font-size: 0.95rem; line-height: 2; color: var(--accent-gold); margin-bottom: 12px; font-weight: 400; font-style: italic; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.05em; }
.hero-sub-list { font-size: 1rem; color: var(--text-dark); margin-bottom: 16px; font-weight: 400; line-height: 2; }
.hero-sub-final { font-size: 0.95rem; color: var(--primary-purple); margin-bottom: 48px; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero-catch { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-catch { font-size: 1.7rem; }
}

/* ========== Vision Section ========== */
.vision {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #faf5ff, #fff0f5, #f0f0ff);
  text-align: center;
}
.vision-content { max-width: 800px; margin: 0 auto; }
.vision .section-label { justify-content: center; }
.vision-big { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; margin-bottom: 24px; color: var(--text-dark); letter-spacing: 0.1em; }
.vision-desc { font-size: 1rem; line-height: 2.2; color: var(--text-light); font-weight: 300; }

/* ========== Service Section ========== */
.service { padding: var(--section-padding); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.service-card { overflow: hidden; }
.service-card-img { width: 100%; height: 220px; object-fit: cover; border-radius: 20px 20px 0 0; transition: transform 0.6s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.card-number { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.card-sub { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 12px; }
.card-detail { margin-top: 16px; padding: 16px; background: rgba(139, 0, 255, 0.03); border-radius: 12px; font-size: 0.85rem; color: var(--text-light); line-height: 1.8; }

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 180px; }
}

/* ========== Talents Section ========== */
.talents { padding: var(--section-padding); }
.talents-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; align-items: center; }
.talents-visual { position: relative; border-radius: 24px; overflow: hidden; height: 400px; }
.talents-visual-img { width: 100%; height: 100%; object-fit: cover; }
.talent-list { display: flex; flex-direction: column; gap: 12px; }
.talent-list-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(139, 0, 255, 0.03); border-radius: 12px; font-size: 0.95rem; transition: var(--transition-smooth); }
.talent-list-item:hover { background: rgba(139, 0, 255, 0.07); transform: translateX(6px); }
.talents-message { margin-top: 28px; font-size: 0.95rem; color: var(--primary-purple); font-weight: 400; font-style: italic; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.05em; }

@media (max-width: 768px) {
  .talents-content { grid-template-columns: 1fr; }
  .talents-visual { height: 280px; }
}
@media (max-width: 480px) {
  .talents-visual { height: 200px; }
}

/* ========== Merit Section ========== */
.merit { padding: var(--section-padding); background: linear-gradient(180deg, #f5f0ff, #fff5f8, #f8f0ff); }
.merit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.merit-card { text-align: center; padding: 36px 24px; }
.merit-icon { width: 56px; height: 56px; margin: 0 auto 20px; background: rgba(139, 0, 255, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.merit-icon::after { content: ''; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: rgba(139, 0, 255, 0.04); animation: pulse 3s ease-in-out infinite; }
.merit-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary-purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.merit-card h4 { font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; font-weight: 500; margin-bottom: 12px; color: var(--text-dark); }
.merit-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.8; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 768px) { .merit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .merit-grid { grid-template-columns: 1fr; } }

/* ========== Message Section ========== */
.message {
  padding: var(--section-padding);
  background: url('/wp-content/uploads/2026/03/message_ginza.png') center / cover no-repeat;
  position: relative;
  text-align: center;
}
.message::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(30, 0, 60, 0.7), rgba(50, 0, 80, 0.6));
}
.message-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.message .section-label { color: var(--accent-gold); }
.message .section-label::before { background: var(--accent-gold); }
.message .section-title { -webkit-text-fill-color: #fff; background: none; }
.message-text { font-size: 1.05rem; color: rgba(255,255,255,0.9); line-height: 2.2; font-weight: 300; }

/* ========== Recruit Section ========== */
.recruit { padding: var(--section-padding); }
.recruit-subtitle { font-size: 1rem; color: var(--text-light); margin-bottom: 16px; }
.recruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.recruit-card { overflow: hidden; }
.recruit-card-img { width: 100%; height: 220px; object-fit: cover; border-radius: 20px 20px 0 0; transition: transform 0.6s ease; }
.recruit-card:hover .recruit-card-img { transform: scale(1.05); }
.recruit-card-body { padding: 24px; }
.recruit-common { margin-top: 32px; padding: 24px; background: rgba(139, 0, 255, 0.03); border-radius: 16px; font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

@media (max-width: 768px) {
  .recruit-grid { grid-template-columns: 1fr; }
  .recruit-card-img { height: 180px; }
}

/* ========== Entry Section ========== */
.entry {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--concafe-pink));
  text-align: center;
}
.entry .section-title { -webkit-text-fill-color: #fff; background: none; }
.entry-text { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 40px; }
.entry-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.entry-sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 16px; }

@media (max-width: 768px) {
  .entry-buttons { flex-direction: column; align-items: center; }
}

/* ========== Company Section ========== */
.company { padding: var(--section-padding); }
.company-info { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.company-details dl { display: flex; flex-direction: column; gap: 0; }
.company-row { display: flex; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.company-row dt { width: 160px; font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 0.1em; color: var(--text-dark); flex-shrink: 0; }
.company-row dd { color: var(--text-light); line-height: 1.8; }
.company-map { background: linear-gradient(135deg, #f8f0ff, #fff0f5); border-radius: 24px; display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; overflow: hidden; }
.company-map-label { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; letter-spacing: 0.2em; color: var(--primary-purple); }
.company-map::after { content: ''; position: absolute; width: 16px; height: 16px; background: var(--primary-purple); border-radius: 50%; animation: pulse 5s ease-in-out infinite; }

@media (max-width: 768px) {
  .company-info { grid-template-columns: 1fr; }
}

/* ========== Footer ========== */
.footer, .l-footer {
  background: linear-gradient(135deg, #1a0033, #2d0066, #4d0000) !important;
  padding: 60px 0 30px;
  color: #fff;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: 'Cormorant Garamond', serif; font-size: 0.8rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.footer-copyright { text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ========== SWELL Layout Override for Front Page ========== */
/* .l-content.l-container が padding:48px で幅制限するため全階層を解除 */
body.home .l-content,
body.home .l-content.l-container,
body.page-id-5 .l-content,
body.page-id-5 .l-content.l-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home .l-mainContent,
body.home .l-mainContent.l-article,
body.page-id-5 .l-mainContent,
body.page-id-5 .l-mainContent.l-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home .l-mainContent__inner,
body.page-id-5 .l-mainContent__inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.home .post_content,
body.page-id-5 .post_content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home article,
body.page-id-5 article {
  max-width: 100% !important;
  width: 100% !important;
}

/* page-template-default のラッパーも解除 */
div.home.wp-singular,
div.page-id-5 {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* l-container flex レイアウトを block に変更してサイドバー幅を解放 */
body.home .l-content.l-container,
body.page-id-5 .l-content.l-container {
  display: block !important;
}

/* -sidebar-on でも強制非表示 */
body.-sidebar-on.home .l-sidebar,
body.-sidebar-on.page-id-5 .l-sidebar {
  display: none !important;
}

/* post_content の内部 padding も解除 */
body.home .post_content,
body.page-id-5 .post_content {
  padding: 0 !important;
}

/* SWELLのサイドバーを強制非表示 */
body.home .l-sidebar,
body.page-id-5 .l-sidebar,
body.lp .l-sidebar {
  display: none !important;
}

/* SWELLのコンテンツエリアをフルワイド */
body.home .l-mainContent,
body.page-id-5 .l-mainContent,
body.lp .l-mainContent {
  width: 100% !important;
  flex: 1 !important;
}

/* WordPress管理バーのオフセット */
body.admin-bar .hero {
  margin-top: -32px;
  padding-top: 32px;
}

/* SWELLの記事一覧を非表示（トップページ） */
body.home .p-postList,
body.page-id-5 .p-postList {
  display: none !important;
}

/* SWELLの投稿タイトルを非表示（フロントページ） */
body.home .c-pageTitle,
body.page-id-5 .c-pageTitle {
  display: none !important;
}
