@charset "UTF-8";

/* ==========================================================================
   防災コンソーシアムCOREページ専用スタイル
   ========================================================================== */

body {
  font-family: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.header-hero {
  min-height: 500px;
  background-color: #f6f4fa;
  background-image: url(/solutionnext/assets/img/solutions/mcp/panel_discussion_bg.png);
  background-size: cover; /* イラスト全体をカバーするように */
  background-position: center; /* センターに配置 */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center; /* センター寄せに変更 */
  padding: 80px 20px;
  border-bottom: none;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
              linear-gradient(135deg, rgba(92, 56, 170, 0.15), rgba(46, 28, 85, 0.1));
  z-index: 1;
}

.header-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px; /* ちょっと広げ直してセンターに */
  animation: fadeIn 1s ease-out forwards;
}

.header-glass-card {
  background: rgba(255, 255, 255, 0.85); /* センター配置に合わせて視認性確保 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(92, 56, 170, 0.2);
  text-align: center; /* センター寄せに変更 */
}

.header-meta {
  margin-bottom: 24px;
  display: flex;
  justify-content: center; /* センター寄せに変更 */
  align-items: center;
  gap: 15px;
}

.header-tag {
  background: #5c38aa;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.header-date {
  color: #5c38aa;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-title {
  font-size: 3.8rem;
  font-weight: 900;
  color: #5c38aa;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.page-subtitle {
  font-size: 2.2rem;
  color: #444;
  font-weight: 700;
  margin-top: 15px;
  line-height: 1.5;
}

.pc-only {
  display: block;
}

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


.content-section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #5c38aa;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #5c38aa;
}

.content-text {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 20px;
}

.two-column,
.three-column {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin: 20px 0;
}

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.image-container {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* 縦長と横長のペア：比率をJSで完璧に計算して高さを揃える */
.v-h-pair {
  display: flex;
  align-items: flex-start;
}

.v-h-pair img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

.image-caption {
  font-size: 1.2rem;
  color: #666;
  margin-top: 8px;
  line-height: 1.5;
  text-align: center;
}

.novare-info {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  margin: 40px 0;
}

.novare-info h3 {
  font-size: 2rem;
  color: #5c38aa;
  margin-bottom: 15px;
  font-weight: 700;
}

.link-section {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  margin: 40px 0;
}

.link-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 15px 20px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.link-item:last-child {
  margin-bottom: 0;
}

.link-item:hover {
  background-color: #f8f6fd;
  border-color: #5c38aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(92, 56, 170, 0.15);
}

.link-item.disabled {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
  cursor: default;
  pointer-events: none; /* クリック無効化 */
  opacity: 0.6;
}

.link-item.disabled:hover {
  transform: none;
  box-shadow: none;
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}

.link-item.disabled .link-text {
  color: #888;
}

.link-item.disabled .link-icon {
  background-color: #aaa;
}

.link-icon {
  width: 24px;
  height: 24px;
  background-color: #5c38aa;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon::after {
  content: "→";
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}

.link-text {
  color: #5c38aa;
  font-weight: 700;
}

.breadcrumb {
  margin: 55px 0 20px 0;
  padding: 0;
}

.breadcrumb_list {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 1.4rem;
}

.breadcrumb_list li::after {
  content: " > ";
  margin-left: 8px;
  color: #999;
}

.breadcrumb_list li:last-child::after {
  content: "";
}

.breadcrumb_list a {
  color: #5c38aa;
  text-decoration: none;
}

.breadcrumb_list .em {
  font-weight: 700;
  color: #333;
}

.service-pitch {
  background-color: #f2f2f2;
  padding: 30px;
  border-radius: 12px;
  margin: 80px 0 40px 0;
}

.highlight-message {
  background-color: #fffde7;
  padding: 20px 30px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 5px solid #fdd835;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

.two-column,
.three-column {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.column {
  flex: 1;
}

@media only screen and (max-width: 768px) {
  .page-title {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .header-hero {
    min-height: 400px;
    padding: 40px 20px;
    background-position: center center !important;
    background-size: cover !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-glass-card {
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center; /* モバイルでは中央寄せ */
  }

  .header-meta {
    justify-content: center;
  }

  .pc-only {
    display: none;
  }

  .two-column,
  .three-column {
    flex-direction: column;
  }

  /* スマホではカラム比率をリセット */
  .v-h-pair .column:nth-child(1),
  .v-h-pair .column:nth-child(2) {
    flex: 1;
  }

  /* モバイルでは高さを固定せず自然な比率にする */
  .image-container img {
    height: auto;
  }
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

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

/* ユーティリティ: 余白 */
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.m-0 { margin: 0 !important; }

/* 特殊パーツ */
.novare-logo {
  max-width: 300px;
  height: auto;
}

.margin-top-tight {
  margin-top: -20px;
}

