/* ========================================
   大和緑化株式会社 ご挨拶ページ専用CSS（モバイルファースト）
   
   【設計方針】
   - モバイル（320px〜）を基準にデザイン
   - min-widthメディアクエリで大画面に対応
   - 読みやすさと親しみやすさを重視
   
   【ブレークポイント】
   - 基本: 320px〜（スマートフォン）
   - 480px〜: 大きめスマートフォン
   - 768px〜: タブレット
   - 1024px〜: デスクトップ
======================================== */

/* ========================================
   基本設定（モバイル基準）
======================================== */
body {
  color: #333333;
  background-color: #f8f9fa;
  font-size: 14px;
  line-height: 1.7;
}

.main-container {
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(135deg, #ecfae5 0%, #f8f9fa 100%);
}

/* ========================================
   ページヘッダー：タイトル表示エリア（モバイル基準）
======================================== */
.page-header {
  background: linear-gradient(135deg, #2c6f38, #4a9f5a);
  color: white;
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></g></svg>') repeat;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
}

.page-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ========================================
   代表挨拶セクション（モバイル基準）
======================================== */
.greeting-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.greeting-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ========================================
   代表者紹介エリア（モバイル基準）
======================================== */
.president-intro {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 30px 20px;
  text-align: center;
  border-bottom: 3px solid #2c6f38;
}

.president-image {
  margin-bottom: 20px;
}

.president-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2c6f38;
  box-shadow: 0 5px 15px rgba(44, 111, 56, 0.3);
}

.president-info h2 {
  color: #2c6f38;
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  font-weight: normal;
}

.president-info h3 {
  color: #333;
  font-size: 1.6rem;
  margin: 0 0 5px 0;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
}

.president-title {
  color: #888;
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 0.1em;
  font-family: "Poppins", sans-serif;
}

/* ========================================
   挨拶メッセージエリア（モバイル基準）
======================================== */
.greeting-message {
  padding: 30px 20px;
}

.opening-message {
  margin-bottom: 30px;
}

.opening-message p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

.opening-message p:last-child {
  margin-bottom: 0;
}

.opening-message strong {
  color: #2c6f38;
  font-weight: bold;
}

/* ========================================
   強みセクション（モバイル基準）
======================================== */
.strengths-section {
  margin: 30px 0;
  padding: 25px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #2c6f38;
}

.strengths-section h4 {
  color: #2c6f38;
  font-size: 1.3rem;
  margin: 0 0 20px 0;
  font-weight: bold;
  text-align: center;
}

.strength-item {
  margin-bottom: 25px;
  padding: 20px 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.strength-item:last-child {
  margin-bottom: 0;
}

.strength-item h5 {
  color: #2c6f38;
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.strength-icon {
  font-size: 1.2rem;
  min-width: 24px;
}

.strength-item p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   結びのメッセージ（モバイル基準）
======================================== */
.closing-message {
  margin: 30px 0;
  padding: 20px 15px;
  background: linear-gradient(135deg, #ecfae5, #f0fff0);
  border-radius: 10px;
  border: 1px solid #e0f2e0;
}

.closing-message p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

.closing-message p:last-child {
  margin-bottom: 0;
}

.closing-message strong {
  color: #2c6f38;
  font-weight: bold;
}

/* ========================================
   署名エリア（モバイル基準）
======================================== */
.signature {
  text-align: right;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.company-name {
  color: #2c6f38;
  font-size: 0.9rem;
  margin: 0 0 5px 0;
  font-weight: bold;
}

.president-signature {
  color: #333;
  font-size: 1rem;
  margin: 0;
  font-weight: bold;
}

/* ========================================
   CTAセクション（モバイル基準）
======================================== */
.cta-section {
  background: linear-gradient(135deg, #2c6f38, #4a9f5a);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin: 0;
}

.cta-content h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* ========================================
   アニメーション定義
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   レスポンシブデザイン（モバイルファースト）
======================================== */

/* 大きめスマートフォン（480px以上） */
@media (min-width: 480px) {
  body {
    font-size: 15px;
  }

  .page-header {
    padding: 80px 30px 50px;
  }

  .page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .page-header p {
    font-size: 1rem;
  }

  .greeting-section {
    padding: 50px 30px;
  }

  .president-intro {
    padding: 40px 30px;
  }

  .president-image img {
    width: 140px;
    height: 140px;
  }

  .president-info h3 {
    font-size: 1.8rem;
  }

  .greeting-message {
    padding: 40px 30px;
  }

  .strengths-section {
    padding: 30px 20px;
  }

  .strength-item {
    padding: 25px 20px;
  }

  .cta-section {
    padding: 50px 30px;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

/* タブレット（768px以上） */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .page-header {
    padding: 100px 40px 60px;
  }

  .page-header h1 {
    font-size: 2.6rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .greeting-section {
    padding: 60px 40px;
  }

  .president-intro {
    padding: 50px 40px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 30px;
  }

  .president-image {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .president-image img {
    width: 160px;
    height: 160px;
  }

  .president-info h2 {
    font-size: 1.2rem;
  }

  .president-info h3 {
    font-size: 2.2rem;
  }

  .president-title {
    font-size: 0.9rem;
  }

  .greeting-message {
    padding: 50px 40px;
  }

  .opening-message p {
    font-size: 1.05rem;
  }

  .strengths-section {
    padding: 35px 25px;
  }

  .strengths-section h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .strength-item {
    padding: 30px 25px;
  }

  .strength-item h5 {
    font-size: 1.2rem;
  }

  .strength-item p {
    font-size: 1rem;
  }

  .closing-message {
    padding: 25px 20px;
  }

  .closing-message p {
    font-size: 1.05rem;
  }

  .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }
}

/* デスクトップ（1024px以上） */
@media (min-width: 1024px) {
  .page-header {
    padding: 120px 50px 80px;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .greeting-section {
    padding: 80px 50px;
  }

  .president-intro {
    padding: 60px 50px;
    gap: 40px;
  }

  .president-image img {
    width: 180px;
    height: 180px;
  }

  .president-info h2 {
    font-size: 1.3rem;
  }

  .president-info h3 {
    font-size: 2.5rem;
  }

  .greeting-message {
    padding: 60px 50px;
  }

  .opening-message p {
    font-size: 1.1rem;
  }

  .strengths-section {
    padding: 40px 30px;
  }

  .strengths-section h4 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .strength-item {
    padding: 35px 30px;
  }

  .strength-item h5 {
    font-size: 1.3rem;
    gap: 10px;
  }

  .strength-icon {
    font-size: 1.4rem;
  }

  .strength-item p {
    font-size: 1.05rem;
  }

  .closing-message {
    padding: 30px 25px;
  }

  .closing-message p {
    font-size: 1.1rem;
  }

  .signature {
    margin-top: 40px;
    padding-top: 25px;
  }

  .company-name {
    font-size: 1rem;
  }

  .president-signature {
    font-size: 1.1rem;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }
}