/* assets/CSS/main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ヘッダーとナビゲーション */
.header {
    background: #19619a;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-item {
    margin: 0 0.5rem;
}

.menu-item a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-item a:hover,
.menu-item.current_page_item a {
    background-color: #2470ac;
}

/* メインコンテンツ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 既存の .hero スタイルを全て削除し、以下に置き換え */

.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #19619a 0%, #2470ac 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(25, 97, 154, 0.3);
    margin: 2rem auto 3rem auto;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 L1000,0 L1000,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
        margin: 1rem auto 2rem auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }


}/* パンくずリスト */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #19619a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページヘッダー */
.page-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    text-align: center;
}

.page-header h1 {
    color: #19619a;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #19619a;
}

/* コンテンツセクション */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.company-details {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* 情報リストのスタイル */
.info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-list dt {
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #19619a, #2470ac);
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.info-list dt::after {
    content: "";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.8;
}

.info-list dd {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 1rem 0;
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    border-left: 4px solid #19619a;
    line-height: 1.6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-list dd small {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* タブレット以上の表示 */
@media (min-width: 768px) {
    .info-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-list dt {
        border-radius: 8px;
        margin-bottom: 0.5rem;
        text-align: left;
        border-right: none;
        padding-right: 3rem;
    }
    
    .info-list dt::after {
        right: 1.5rem;
    }
    
    .info-list dd {
        border-radius: 8px;
        border-left: 4px solid #19619a;
        margin-bottom: 0;
        padding-bottom: 1.2rem;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-item {
        margin: 0.25rem 0;
        width: 100%;
        text-align: center;
    }
    
    .menu-item a {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .company-details {
        padding: 1.5rem;
    }
    
    .info-list dt {
        font-size: 1rem;
    }
    
    .info-list dd {
        font-size: 1rem;
    }
}



/* assets/CSS/main.css に追加 */

.section-title {
  color: #19619a;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 2px solid #19619a;
  padding-bottom: 0.5rem;
}

/* 沿革リストの特別なスタイル */
.history-list dt {
  background: linear-gradient(135deg, #2c7bb6, #19619a);
  font-size: 1.1rem;
}

.history-list dd {
  font-size: 1rem;
  line-height: 1.7;
}

.history-list dd strong {
  color: #19619a;
  font-weight: 600;
}

/* 年表のように見せるための調整 */
@media (min-width: 768px) {
  .history-list {
    position: relative;
  }
  
  .history-list::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #19619a, #2470ac);
    border-radius: 3px;
  }
  
  .history-list dt {
    position: relative;
    margin-left: 3rem;
  }
  
  .history-list dt::before {
    content: "";
    position: absolute;
    left: -3.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #19619a;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #19619a;
  }
  
  .history-list dd {
    margin-left: 3rem;
    margin-bottom: 1.5rem;
  }
}


/* assets/CSS/main.css に追加 - 企業理念ページ用 */

/* 企業理念のメインタイトル */
.concept-main {
  text-align: center;
  margin-bottom: 3rem;
}

.concept-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.concept-intro {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.concept-intro p {
  margin-bottom: 0.5rem;
}

/* 社名の由来 */
.concept-origin {
  margin: 2rem 0;
}

.concept-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #19619a;
}

.concept-number {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 0.5rem;
  color: #333;
}

.concept-letter {
  font-size: 1.4rem;
  font-weight: bold;
  margin-right: 0.5rem;
  min-width: 1.5rem;
}

.concept-text {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* アクセントカラー */
.accent-red {
  color: #d23822 !important;
  font-weight: bold;
}

/* セクション区切り */
.section-divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 3rem 0;
}

/* 行動指針 */
.action-guideline {
  margin: 2rem 0;
}

.guideline-main {
  text-align: center;
  margin-bottom: 2rem;
}

.guideline-principle {
  font-size: 1.4rem;
  line-height: 1.5;
}

.guideline-list {
  display: grid;
  gap: 1.5rem;
}

.guideline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.guideline-category {
  font-weight: bold;
  color: #19619a;
  font-size: 1.1rem;
  background: #f0f7ff;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
}

.guideline-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* 社是リスト */
.principles-list dt {
  background: linear-gradient(135deg, #2c5282, #19619a);
}

.principles-list dd {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .concept-title {
    font-size: 1.5rem;
  }
  
  .concept-intro {
    font-size: 1.1rem;
  }
  
  .concept-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .concept-number,
  .concept-letter {
    margin-right: 0;
    margin-bottom: 0.3rem;
  }
  
  .guideline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .guideline-category {
    text-align: left;
    padding: 0.3rem 0.5rem;
  }
  
  .guideline-principle {
    font-size: 1.2rem;
  }
}


/* assets/CSS/main.css に追加 - サービスページ用 */

/* サービスカード */
.service-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* サービス画像 */
.service-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* サービス内容 */
.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  color: #19619a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #19619a;
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
}

/* サービス特徴タグ */
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: linear-gradient(135deg, #19619a, #2470ac);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
  .service-card {
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-title {
    font-size: 1.6rem;
  }
  
  .service-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .service-image {
    order: -1;
  }
  
  .service-img {
    height: 180px;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
  
  .service-features {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .service-title {
    font-size: 1.4rem;
  }
  
  .service-description {
    font-size: 0.95rem;
  }
  
  .feature-tag {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
  }
}

/* サービス紹介セクションの追加スタイル */
.services-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
}

.services-intro h2 {
  color: #19619a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.services-intro p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


/* assets/CSS/main.css に追加 - 要件定義ページ用 */

/* ページサブタイトル */
.page-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: normal;
}

/* 要件定義セクション */
.requirement-section {
  margin-bottom: 3rem;
}

.requirement-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-left: 6px solid #19619a;
}

.requirement-card.warning {
  border-left-color: #f39c12;
  background: linear-gradient(to right, #fffdf8, white);
}

.requirement-card.critical {
  border-left-color: #e74c3c;
  background: linear-gradient(to right, #fff8f8, white);
}

.requirement-subtitle {
  color: #19619a;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.requirement-card.warning .requirement-subtitle {
  color: #f39c12;
}

.requirement-card.critical .requirement-subtitle {
  color: #e74c3c;
}

.requirement-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.requirement-content p {
  margin-bottom: 1.2rem;
}

/* キーポイントの強調 */
.key-point {
  background: #f0f7ff;
  border: 2px solid #19619a;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
}

.warning-note {
  background: #fff8e1;
  border: 2px solid #f39c12;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  text-align: center;
  font-weight: 600;
  color: #e67e22;
}

.critical-point {
  background: #ffeaea;
  border: 2px solid #e74c3c;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* 引用文 */
.quote {
  background: #f8f9fa;
  border-left: 4px solid #19619a;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
}

.critical-point .quote {
  background: #fff5f5;
  border-left-color: #e74c3c;
  color: #c0392b;
}

/* 定義ボックス */
.definition-box {
  background: linear-gradient(135deg, #19619a, #2470ac);
  color: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(25, 97, 154, 0.3);
}

/* アクセントカラー */
.accent-red {
  color: #d23822 !important;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .requirement-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .requirement-subtitle {
    font-size: 1.4rem;
  }
  
  .requirement-content {
    font-size: 1rem;
  }
  
  .key-point,
  .warning-note,
  .critical-point {
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .definition-box {
    padding: 1.5rem;
    font-size: 1.1rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .requirement-card {
    padding: 1.2rem;
  }
  
  .requirement-subtitle {
    font-size: 1.3rem;
  }
  
  .key-point,
  .warning-note,
  .critical-point {
    padding: 0.8rem;
    font-size: 1rem;
  }
  
  .definition-box {
    padding: 1.2rem;
    font-size: 1rem;
  }
}

/* セクションタイトルの装飾 */
.section-title {
  color: #19619a;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #19619a, #2470ac);
  border-radius: 2px;
}


/* assets/CSS/main.css に追加モバイルメニュー */
.menu-toggle {
    display: none;
    background: #19619a;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
    }
    
    .nav-list.active {
        display: flex;
    }
}

/* トップページ用の追加スタイル */

/* メッセージコンテンツ */
.message-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message-content h2 {
    color: #19619a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

/* 価値提案 */
.value-propositions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: #19619a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #19619a;
}

.value-item p {
    line-height: 1.7;
    color: #555;
}

/* 事業領域 */
.business-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #19619a;
}

.area-item h3 {
    color: #19619a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.area-item ul {
    list-style: none;
    padding: 0;
}

.area-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

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

/* CTAセクション */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.cta-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #19619a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #2470ac;
}

.cta-button.secondary {
    background: #d23822;
}

.cta-button.secondary:hover {
    background: #e74c3c;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .value-propositions {
        grid-template-columns: 1fr;
    }
    
    .business-areas {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .message-content h2 {
        font-size: 1.5rem;
    }
}

/* お問い合わせフォームスタイル */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

.required-mark {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #19619a;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .cta-button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* パンくずリスト */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #19619a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
