/*--------------------------------------------------------------
# Company Page Specific Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Company Hero Section
--------------------------------------------------------------*/
.company-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.company-hero .hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.company-hero .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.company-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.company-hero .hero-title {
  margin-bottom: 30px;
}

.company-hero .title-en {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 400;
  letter-spacing: 10px;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  text-stroke: 2px var(--white);
  margin-bottom: -20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.company-hero .title-jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.company-hero .hero-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

/*--------------------------------------------------------------
# Company Strengths Section
--------------------------------------------------------------*/
.company-strengths {
  padding: 120px 0;
  background: #f8f9fa;
}

.strengths-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.title-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 8vw, 80px);
  color: var(--primary);
  opacity: 0.2;
  font-weight: 400;
}

.section-lead {
  font-size: 18px;
  color: var(--gray);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.strength-card {
  position: relative;
  height: 400px;
  cursor: pointer;
  transition: var(--transition);
}

.strength-card:hover {
  transform: translateY(-10px);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.strength-card:hover .card-inner {
  transform: rotateY(-180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.card-icon {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.strength-card:hover .card-icon img {
  transform: scale(1.1);
}

.icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.icon-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--white);
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.card-front h3 {
  padding: 20px 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-back h3 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.card-back p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

.card-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 24px;
  opacity: 0.7;
}

/*--------------------------------------------------------------
# Company Info Section
--------------------------------------------------------------*/
.company-info-section {
  padding: 120px 0;
  background: var(--white);
}

.info-header {
  text-align: center;
  margin-bottom: 80px;
}

.info-content {
  max-width: 1200px;
  margin: 0 auto;
}

.info-image {
  position: relative;
  margin-bottom: 40px;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.info-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.info-image img {
  width: 100%;
  height: auto;
  border: 15px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.info-image::before {
  content: "";
  position: absolute;
  transform: rotate(-35deg);
  width: 70px;
  height: 25px;
  background-color: #fff;
  border-bottom: 1px solid #aaa;
  top: -10px;
  left: -25px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.info-image::after {
  content: "";
  position: absolute;
  transform: rotate(-35deg);
  width: 70px;
  height: 25px;
  background-color: #fff;
  border-top: 1px solid #aaa;
  bottom: -10px;
  right: -25px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.image-frame {
  position: absolute;
  top: 15px;
  right: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  background: #f5f5f5;
  transform: rotate(3deg);
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-details {
  padding: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  height: 100%;
}

.info-list {
  margin: 0;
}

.info-item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item dt {
  flex: 0 0 30%;
  font-weight: 700;
  color: var(--dark);
  font-size: 15px;
}

.info-item dd {
  flex: 1;
  color: var(--gray);
  line-height: 1.8;
  margin: 0;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Company Values Section - Updated for full background coverage
--------------------------------------------------------------*/
.company-values {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  min-height: 100vh;
  background: #ff0000; /* テスト用の赤い背景 */
}

.values-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #0f1419 0%, #1e2a3a 100%);
}

.values-bg img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.values-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.values-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.values-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 400;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.values-subtitle {
  font-size: 20px;
  margin-bottom: 60px;
  opacity: 0.9;
}

.values-list {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(20px);
}

.value-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}

.value-content {
  text-align: left;
}

.value-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.value-content p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Company Message Section
--------------------------------------------------------------*/
.company-message {
  padding: 120px 0;
  background: #f8f9fa;
}

.message-content {
  display: flex;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.message-photo {
  flex: 0 0 400px;
  position: relative;
}

.message-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.photo-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px 30px;
  border-radius: 10px;
}

.photo-caption .position {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 5px;
}

.photo-caption .name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.message-text {
  flex: 1;
}

.message-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 30px;
}

.message-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 20px;
}

.message-body p:first-child {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
}

.message-signature {
  margin-top: 40px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.signature-title {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

.signature-img {
  max-height: 40px;
  width: auto;
}

/*--------------------------------------------------------------
# Company Access Section
--------------------------------------------------------------*/
.company-access {
  padding: 120px 0;
  background: var(--white);
}

.access-header {
  text-align: center;
  margin-bottom: 80px;
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-map {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.access-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 30px;
}

.access-details {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
}

.access-details dt {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 16px;
}

.access-details dd {
  margin-bottom: 30px;
  color: var(--gray);
  line-height: 1.8;
}

.access-details dd:last-child {
  margin-bottom: 0;
}

.access-list {
  list-style: none;
  padding: 0;
}

.access-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.access-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Company Page Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .message-content {
    flex-direction: column;
  }
  
  .message-photo {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px;
  }
  
  .access-content {
    grid-template-columns: 1fr;
  }
  
  .access-map {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .section-title-large {
    flex-direction: column;
    gap: 10px;
  }
  
  .company-hero .title-en {
    font-size: 80px;
    letter-spacing: 5px;
  }
  
  .strengths-grid {
    grid-template-columns: 1fr;
  }
  
  .values-list .value-item {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .value-number {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .company-hero .title-en {
    font-size: 60px;
  }
  
  .info-item {
    flex-direction: column;
  }
  
  .info-item dt {
    flex: none;
    margin-bottom: 10px;
  }
}
/*--------------------------------------------------------------
# CEO Signature Styles - 代表者名手書き風フォント
--------------------------------------------------------------*/

/* Pattern 1: Klee One - 優しく読みやすい手書き風（現在有効） */
/*
.ceo-signature {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 2px;
}
*/

/* SVG Signature Style - Removed, now using Bootstrap img-fluid class with inline style */
/* .ceo-signature-svg {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
} */

/* Pattern 2: Yusei Magic - ポップで親しみやすい手書き風 */
/*
.ceo-signature {
  font-family: 'Yusei Magic', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
}
*/

/* Pattern 3: Zen Kurenaido - エレガントで洗練された手書き風 */
/*
.ceo-signature {
  font-family: 'Zen Kurenaido', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
}
*/

/* 
使用方法:
- 上記3パターンのうち、使用したいパターンのコメントを外してください
- 他のパターンはコメントアウトしたままにしてください
- 元に戻す場合は、全てコメントアウトするか、
  company.css.backup_signature_20251001 から復元してください
*/
