@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
*/

.top .l-content,
.top #content{
    padding: 0!important;
}

/* ========================================
  ヒーローセクション CSS
  ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: zoomIn 20s ease-out infinite alternate;
  }

  .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .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.5) 100%);
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
  }

  .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 1s ease-out;
  }

  .hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
    margin-bottom: 35px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
  }

  .hero-note {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.6s both;
  }

  .hero-note strong {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
  }

  /* アニメーション定義 */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes zoomIn {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }

  /* レスポンシブ */
  @media (max-width: 768px) {
    .hero-section {
      min-height: 500px;
    }

    .hero-content {
      padding: 30px 20px;
    }

    .hero-title {
      font-size: 28px;
      margin-bottom: 20px;
    }

    .hero-description {
      font-size: 14px;
      margin-bottom: 25px;
    }

    .hero-note {
      font-size: 12px;
      padding: 12px 18px;
    }

    .hero-badge {
      font-size: 11px;
      padding: 6px 16px;
    }
  }

/* ========================================
   代表メッセージセクション CSS
   ======================================== */
  
  .ceo-message-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  /* ヒーローカード */
  .ceo-hero-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 45% 55%;
    margin-bottom: 40px;
  }
  
  .ceo-hero-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  
  .ceo-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .ceo-hero-content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* h2のmarginを強制的に0に */
  .ceo-main-title {
    margin: 0 !important;
  }
  
  .ceo-badge {
    display: inline-block;
    background: #e0f2f1;
    color: #00897b;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 15px;
  }
  
  .ceo-main-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #222;
  }
  
  .ceo-lead-text {
    font-size: 14px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
  }
  
  .ceo-signature {
    padding-top: 15px;
    border-top: 1px solid #eee;
  }
  
  .ceo-signature-info {
    font-size: 11px;
    color: #888;
    line-height: 1.2;
    margin-bottom: 3px;
  }
  
  .ceo-signature-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
  }
  
  /* ストーリーカード */
  .ceo-story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .ceo-story-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
  }
  
  .ceo-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  }
  
/* ストーリーカードのヘッダー（数字とタイトルの親要素） */
.ceo-story-header {
  display: flex;
  align-items: baseline; /* 数字とタイトルのベースラインを揃える */
  gap: 1rem; /* 数字とタイトルの間隔（お好みで調整） */
}

/* 数字部分のスタイル修正 */
.ceo-story-number {
  white-space: nowrap; /* 強制的に改行させない */
  flex-shrink: 0;      /* 横幅が狭くなってもこの要素は縮めない */
  
  /* 以下はデザインに合わせて調整してください */
  font-weight: bold;
  color: #2eb8b8; /* 画像のような緑色 */
  font-size: 2rem; /* 必要に応じてサイズ調整 */
}
  
  .ceo-story-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
  }
  
  .ceo-story-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
  }
  
  /* レスポンシブ */
  @media (max-width: 768px) {
    .ceo-message-section {
      padding: 40px 16px;
    }
  
    .ceo-hero-card {
      grid-template-columns: 1fr;
      border-radius: 16px;
    }
  
    .ceo-hero-image {
      min-height: 250px;
    }
  
    .ceo-hero-content {
      padding: 25px 20px;
    }
  
    .ceo-main-title {
      font-size: 22px;
    }
  
    .ceo-story-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .ceo-story-card {
      padding: 20px;
    }
  }
  