/* 關於札米ページ専用スタイル */

/* 事務所紹介セクション */
.firm-introduction {
  padding: 5rem 0;
  background-color: var(--white);
}

.firm-introduction .container {
  padding: 0 5vw;
}

.introduction-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.intro-description {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--text-color);
}

.intro-description p {
  margin-bottom: 1.5rem;
}

.intro-description p:last-child {
  margin-bottom: 0;
}

/* 律師プロフィールセクション */
.lawyer-profile-section {
  padding: 5rem 0;
  padding-bottom: 0;
  background-color: var(--background-light);
}

.lawyer-profile-section .container {
  padding: 0px 6vw;
}

.lawyer-profile-section .container:nth-child(2) {
  background: #efefef;
  padding: 3rem 6vw;
}

.lawyer-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.lawyer-photo-large {
  text-align: center;
}

.lawyer-profile-section .container:nth-child(2) .lawyer-photo-large {
  order: -1;
}

.lawyer-portrait {
  width: auto;
  height: auto;
  object-fit: cover;
  box-shadow: var(--box-shadow-lg);
  border: 5px solid var(--white);
}

.lawyer-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.lawyer-name-large {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.lawyer-title-large {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.lawyer-name-en-large {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
}

/* 律師哲学セクション */
.lawyer-philosophy,
.lawyer-experience,
.lawyer-specialties {
  margin-bottom: 2.5rem;
}

.philosophy-title,
.experience-title,
.specialties-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.philosophy-title::before,
.experience-title::before,
.specialties-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 3px;
  height: 1.5rem;
  background-color: var(--accent-color);
}

.philosophy-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.philosophy-content p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.experience-list,
.specialties-list {
  list-style: none;
  padding: 0;
}

.experience-list li,
.specialties-list li {
  font-size: var(--font-size-base);
  color: var(--text-color);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.experience-list li::before,
.specialties-list li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  position: absolute;
  left: 0;
}


/* 專業團隊遷移用セクション */
.go-to-team-block {
  background: var(--border-color);
  padding: 40px 0;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.go-to-team-block .section-title {
  color: var(--text-color);
  margin: 3rem 0;
}

.go-to-team-btn {
  width: 84vw;
  height: 250px;
  border-radius: 25px;
  border: solid 5px var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.go-to-team-btn a {
  display: block;
  width: 100%;
  height: 100%;
  background: red;
  position: absolute;
  background-image: url(https://zarvid-international-law-firm.web.app/page-banner/about_team.jpg);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(0.3) brightness(0.8);
  opacity: 1;
  transition: all 0.3s;
  z-index: 2;
}

.go-to-team-btn a:hover {
  transform: scale(1.02);
  filter: grayscale(0.7) brightness(0.75);
  opacity: 0.9;
}

.go-to-team-btn p {
  position: relative;
  z-index: 10;
  pointer-events: none;
  color: var(--text-white);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

.go-to-team-btn p:nth-child(2) {
  margin-top: 5px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}



/* ZARVID理念セクション */
.zarvid-philosophy-section {
  background: #2c2c2c;
  padding: 0;
  overflow: hidden;
}

.zarvid-philosophy-section .section-title {
  color: var(--text-white);
  margin: 3rem 0;
}

.zarvid-philosophy-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  height: 400px;
}

.philosophy-item {
  position: relative;
  background: #2c2c2c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  cursor: default;
  overflow: hidden;
  transition: all 0.8s ease;
}

.philosophy-item:hover {
  background: #65B688;
}

.philosophy-left {
  width: 100%;
}

.philosophy-letter {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.6s ease;
  width: 100%;
}

.philosophy-word {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 15px;
  opacity: 0.9;
}

.philosophy-description {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 20px;
  opacity: 0.8;
  word-break: keep-all;
}

.philosophy-icon {
  font-size: 2.5rem;
  color: #ffffff;
  opacity: 0.7;
  transition: all 0.6s ease;
}

.philosophy-item:hover .philosophy-icon {
  opacity: 1;
  transform: scale(1.1);
}

.philosophy-item:hover .philosophy-letter {
  transform: scale(1.05);
}

/* レスポンシブ対応 - PC以外は完全に縦配置 */
@media (max-width: 1024px) {
  .zarvid-philosophy-section .container {
    padding: 0;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    height: auto;
    gap: 0;
  }

  .philosophy-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    text-align: left;
    min-height: 120px;
  }

  .philosophy-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .philosophy-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    width: auto;
    min-width: 100px;
  }

  .philosophy-center {
    flex: 1;
    margin-left: 10px;
  }

  .philosophy-letter {
    font-size: 3.5rem;
    margin-bottom: 5px;
    width: auto;
  }

  .philosophy-word {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-style: italic;
  }

  .philosophy-description {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
  }

  .philosophy-icon {
    font-size: 2.5rem;
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    padding: 25px 30px;
    min-height: 100px;
  }

  .philosophy-left {
    margin-right: 20px;
    width: auto;
    min-width: 80px;
  }

  .philosophy-letter {
    font-size: 3rem;
    width: auto;
  }

  .philosophy-word {
    font-size: 1rem;
  }

  .philosophy-description {
    font-size: 1.1rem;
  }

  .philosophy-icon {
    padding-right: 1rem;
    font-size: 2.2rem;
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .philosophy-item {
    padding: 20px 20px;
    min-height: 90px;
  }

  .philosophy-left {
    margin-right: 15px;
    width: auto;
    min-width: 70px;
  }

  .philosophy-letter {
    font-size: 2.5rem;
    width: auto;
  }

  .philosophy-word {
    font-size: 0.9rem;
  }

  .philosophy-description {
    font-size: 0.9rem;
  }
}

/* タブレット対応 */
@media (min-width: 769px) {

  .firm-introduction .container {
    padding: 0 3vw;
  }

  .lawyer-profile-section {
    padding-bottom: 5rem;
  }

  .page-title {
    font-size: var(--font-size-5xl);
  }

  .introduction-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .intro-title {
    text-align: left;
  }

  .lawyer-profile {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }

  .lawyer-profile-section .container:nth-child(2) .lawyer-profile {
    grid-template-columns: 2fr 1fr;
  }

  .lawyer-header {
    text-align: left;
  }

  .specialties-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .lawyer-profile-section .container:nth-child(2) .lawyer-photo-large {
    order: unset;
  }

  .go-to-team-btn {
    width: 600px;
  }
}

/* デスクトップ対応 */
@media (min-width: 1024px) {

  .firm-introduction {
    padding: 6rem 0;
  }

  .lawyer-profile-section {
    padding: 0;
    padding-top: 6rem;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* 大画面対応 */
@media (min-width: 1280px) {
  .introduction-content {
    gap: 5rem;
  }

  .lawyer-profile {
    gap: 5rem;
  }
}

/* アニメーション */
.about-page .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-page .animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}