/* Message page styles */
body.page-template-page-message,
#message-page {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Zen Kaku Gothic New', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
}

/* Messageページ専用ファーストビュー */
.message-fv {
  position: relative;
  min-height: 100vh;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.message-fv__accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  font-size: clamp(120px, 15vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.message-fv__content {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.message-fv__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.message-fv__title {
  position: relative;
  margin: 0;
}

.message-fv__title-main {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.9);
  line-height: 0.9;
  display: block;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}

.message-fv__title-bg {
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  font-style: italic;
  line-height: 0.9;
  z-index: 1;
  letter-spacing: -0.01em;
}

.message-fv__subtitle {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-fv__subtitle-jp {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(255,255,255,0.2), 0 2px 10px rgba(0,0,0,0.9);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.message-fv__subtitle-en {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 3px 15px rgba(255,255,255,0.15), 0 2px 8px rgba(0,0,0,0.8);
  margin: 0;
  line-height: 1.4;
  font-family: 'Josefin Slab', serif;
  letter-spacing: 0.05em;
}

.message-fv__author {
  margin-top: 30px;
}

.message-fv__author-text {
  font-size: 24px;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(255,255,255,0.3), 0 2px 10px rgba(0,0,0,0.9);
  letter-spacing: 0.05em;
  font-family: 'Josefin Slab', serif;
}

.message-fv__author-name {
  font-size: 24px;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(255,255,255,0.3), 0 2px 10px rgba(0,0,0,0.9);
  letter-spacing: 0.05em;
  font-family: 'Josefin Slab', serif;
}

.message-fv__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-fv__image {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6), 0 10px 40px rgba(255,255,255,0.1);
  position: relative;
  border: 2px solid rgba(255,255,255,0.1);
}

.representative-photo-large {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.4s ease;
  filter: contrast(1.1) brightness(1.05);
}

.message-fv__image:hover .representative-photo-large {
  transform: scale(1.08);
  filter: contrast(1.2) brightness(1.1);
}

.message-fv__image:hover {
  box-shadow: 0 35px 100px rgba(0,0,0,0.8), 0 15px 50px rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
}

.message-fv__paint-splatter {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: 
    radial-gradient(circle at 30% 30%, #ff6b35 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, #e74c3c 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, #9b59b6 0%, transparent 50%);
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(3px);
}

.message-fv__plant {
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 200px;
  height: 150px;
  background: 
    radial-gradient(ellipse at center, #27ae60 0%, transparent 70%),
    radial-gradient(ellipse at 30% 60%, #2ecc71 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(4px);
}

/* メッセージメインセクション */
.message-main {
  padding: 120px 0;
  background: #000000;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.message-main__content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.message-main__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.message-main__lead {
  margin-bottom: 20px;
}

.message-main__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.3;
  text-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.message-main__subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-weight: 500;
  font-family: 'Josefin Slab', serif;
  letter-spacing: 0.05em;
}

.message-main__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.message-main__body p {
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  margin: 0;
  text-align: justify;
}

.message-main__closing {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0a84ae !important;
  text-align: center !important;
  margin-top: 20px !important;
  text-shadow: 0 2px 10px rgba(10,132,174,0.3) !important;
}

.message-main__signature {
  text-align: right;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #0a84ae;
}

.signature-company {
  font-size: 18px;
  font-weight: 700;
  color: #0a84ae;
  margin: 0 0 8px 0;
}

.signature-title {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 8px 0;
}

.signature-name-large {
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'serif';
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transform: rotate(-1deg);
  display: inline-block;
  position: relative;
}

.message-main__visual {
  position: sticky;
  top: 120px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-main__accent-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b35 0%, #f39c12 25%, #27ae60 50%, #3498db 75%, #9b59b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transform: rotate(180deg);
  line-height: 1.2;
  letter-spacing: 0.1em;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 代表プロフィールセクション */
.profile-section {
  padding: 60px 0;
  background: #242424;
  color: #ffffff;
}

.profile-content-wrapper {
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin: 0 10%;
}

.profile-content {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-header-image {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 50px;
  align-items: start;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
  flex-shrink: 0;
  order: 2;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
  filter: contrast(1.05) brightness(1.02);
}

.profile-image:hover .profile-photo {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1.05);
}

.profile-image:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.3);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 10px;
  order: 1;
}

.profile-header {
  margin-bottom: 15px;
}

.profile-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

.profile-company {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 6px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.profile-position {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 12px 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
}

.profile-social {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

.social-icon {
  font-size: 14px;
  font-weight: 600;
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link.twitter:hover {
  background: #000000;
  border-color: #000000;
}

.social-link.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
}

.social-link.tiktok:hover {
  background: #000000;
  border-color: #000000;
}

.profile-bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.profile-bio p {
  font-size: 20px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  text-align: justify;
  letter-spacing: 0.01em;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .message-fv__content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 60px 40px;
  }
  
  .message-fv__text {
    order: -1;
    margin-bottom: 20px;
  }
  
  .message-fv__visual {
    order: 1;
  }
  
  .profile-header-image {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .profile-image {
    order: -1;
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .message-main__content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .message-main__visual {
    order: -1;
    position: static;
    height: auto;
    margin-bottom: 40px;
  }
  
  .message-main__accent-text {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 960px) {
  .message-fv {
    min-height: 80vh;
  }
  
  .message-fv__content {
    padding: 40px 20px;
    gap: 50px;
  }
  
  .message-main,
  .profile-section {
    padding: 80px 0;
  }
  
  .profile-content-wrapper {
    padding: 40px;
    margin: 0 20px;
  }
  
  .profile-content {
    gap: 30px;
  }
  
  .profile-header-image {
    gap: 30px;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  .message-main__title {
    font-size: 28px;
  }
  
  .message-main__subtitle {
    font-size: 18px;
  }
  
  .profile-title {
    font-size: 36px;
  }
  
  .profile-name {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .message-fv {
    min-height: 70vh;
  }
  
  .message-fv__content {
    padding: 30px 16px;
    gap: 40px;
  }
  
  .message-fv__text {
    gap: 30px;
  }
  
  .message-main,
  .profile-section {
    padding: 60px 0;
  }
  
  .profile-content-wrapper {
    padding: 30px 20px;
    margin: 0 16px;
    border-radius: 16px;
  }
  
  .profile-content {
    gap: 25px;
  }
  
  .profile-header-image {
    gap: 25px;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  .message-main__title {
    font-size: 24px;
  }
  
  .message-main__subtitle {
    font-size: 16px;
  }
  
  .message-main__main p {
    font-size: 15px;
  }
  
  .message-main__closing {
    font-size: 18px !important;
  }
  
  .profile-title {
    font-size: 28px;
  }
  
  .profile-name {
    font-size: 24px;
  }
  
  .profile-bio p {
    font-size: 15px;
  }
  
  .profile-social {
    gap: 12px;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .social-icon {
    font-size: 14px;
  }
} 