body {
    margin: 10px;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    background-image: 
    repeating-linear-gradient(
        0deg, 
        rgba(160, 186, 10, 0.1), 
        rgba(160, 186, 181, 0.1) 1.5px, 
        transparent 1px, 
        transparent 20px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(160, 186, 181, 0.1), 
        rgba(160, 186, 181, 0.1) 1.5px, 
        transparent 1px, 
        transparent 20px
    );
}

header {
    color: linear-gradient(#4285F499, #EA433599, #FBBC0599, #34A85399);
    font-family: "Oswald", serif;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
}
.yasu521 {
    top: 4.5%;
    left: 2%;
    font-family: serif;
    color: #ffffff;
    z-index: 1;
}
.header-links .yasu521 {
  font-size: 20px;
  background: linear-gradient(45deg,#EF233C, #FF9F1C, #2E8BC0,#0A1128);
}

header h1 {
    margin: 0;
    font-size: 40px;
    color: #d9a333;
}

.plane-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plane-container img {
    width:50px;
}

.timeline {
    position: relative;
    margin: 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 100%;
    z-index: 1;
}
.timeline-line2 {
    position: absolute;
    top: 0;
    left: 0.5%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="40" viewBox="0 0 10 40"><path d="M5 0 C7 10 3 5 5 40" stroke="white" fill="none" stroke-width="2"/></svg>') repeat-y;
    z-index: 1;
}

.timeline-line img {
    position: absolute;
    width: 20px;
    height: 20px;
}

.timeline-line img:nth-child(1) {
    top: 15px;
    left: 50px;
}

.timeline-line img:nth-child(2) {
    top: 0px;
    left: 60px;
}

.timeline-line img:nth-child(3) {
    top: 30px;
    left: 65px;
}

.timeline-line img:nth-child(4) {
    top: 50px;
    left: 55px;
}

.timeline-line img:nth-child(5) {
  top: 70px;
  left: 58px;
}
.timeline-line img:nth-child(6) {
  top: 90px;
  left: 59px;
}

.timeline-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    padding: 10px;
    
    scroll-snap-align: center;
}


.timeline-section:nth-child(4n+1) {
    border-radius: 16px;
    background-color: #34A85399;
    font-family: "Squada One", serif;
    color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);   
}
.timeline-section:nth-child(4n+2) {
    border-radius: 16px;
    background-color: #4285F499;
    font-family: "Squada One", serif;
    color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.timeline-section:nth-child(4n+3) {
    border-radius: 16px;
    background-color: #EA433599;
    font-family: "Squada One", serif;
    color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.timeline-section:nth-child(4n) {
  border-radius: 16px;
    background-color: #FBBC0599;
    font-family: "Squada One", serif;
    color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.timeline-section .images-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-section img {
    max-width: 48%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-section .text-content {
    max-width: 50%;
}

.timeline-section:nth-child(4n+1) h2 {
    font-size: 2em;
    padding: 5px;
    color: rgb(0, 100, 0);
    font-family: "Squada One", serif;
}
.timeline-section:nth-child(4n+2) h2 {
    font-size: 2em;
    padding: 5px;
    color: rgb(0, 0, 100);
    font-family: "Squada One", serif;
}
.timeline-section:nth-child(4n+3) h2 {
    font-size: 2em;
    padding: 5px;
    color: rgb(100, 0, 0);
}
.timeline-section:nth-child(4n) h2 {
    font-size: 2em;
    padding: 5px;
    color: rgb(100, 100, 0);
}

.timeline-section:nth-child(4n+1) p {
    font-size:  1em;
    color: rgb(0,100,0);
    padding: 5px;
}
.timeline-section:nth-child(4n+2) p {
    font-size:  1em;
    color: rgb(0,0,100);
    padding: 5px;
}
.timeline-section:nth-child(4n+3) p {
    font-size:  1em;
    color: rgb(100,0,0);
    padding: 5px;
}
.timeline-section:nth-child(4n) p {
    font-size:  1em;
    color: rgb(100,100,0);
    padding: 5px;
}

h3 {
    color:white;
    font-family: "Squada One", serif;
}
.project-details {
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-right:  10px;
}

.projector {
    margin-top: 10px;
    text-align: center;
}

.projector img {
    max-width: 90%;
    height: auto;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

footer {
    background-color:#d9a23300;
    color: rgba(0, 0, 0);
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
}

footer p {
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .timeline-section {
        flex-direction: column;
    }

    .timeline-section img {
        max-width: 80%;
    }

    .timeline-section .text-content {
        max-width: 100%;
        text-align: center;
    }

    .timeline-section img {
        order: -1;
        margin-bottom: 20px;
    }

    .extra-images img {
        width: 40px;
        height: 40px;
    }

    .timeline-line2 {
    left: 2%;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 40px 20px;
    }

    .timeline-section h2 {
        font-size: 1.5em;
    }

    .timeline-section p {
        font-size: 1em;
    }
}


/* ============================================
   20〜30年後を考える セクション
============================================ */
.future-section {
  padding: 20px 0px;
  max-width: 100%;
  margin: 0 auto;
}

.future-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.future-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, #004CA0, #0067d6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.future-main-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #004CA0;
  line-height: 1.5;
  margin: 0;
  border-bottom: 3px solid #d9a333;
  display: inline-block;
  padding-bottom: 8px;
}

/* --- ビジョンカード --- */
.future-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

.future-vision-card {
  background: #fff;
  border: 1px solid #e8eef7;
  border-top: 4px solid #004CA0;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 76, 160, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.future-vision-card:nth-child(1) { animation-delay: 0.1s; }
.future-vision-card:nth-child(2) { animation-delay: 0.25s; }

.future-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 76, 160, 0.13);
}

.vision-num-badge {
  display: inline-block;
  background: #d9a333;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.vision-card-title {
  font-size: 1.1rem;
  color: #004CA0;
  margin: 0 0 14px;
  line-height: 1.4;
}

.future-vision-card p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.8;
  margin: 0 0 10px;
}

/* --- やるべきことリスト ブロック --- */
.todo-block {
  background: #f5f8fd;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid #dce8f5;
}

.todo-block-header {
  text-align: center;
  margin-bottom: 36px;
}

.todo-block-tag {
  display: inline-block;
  border: 2px solid #d9a333;
  color: #d9a333;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.todo-block-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: #004CA0;
  line-height: 1.5;
  margin: 0;
}

/* --- 課題認識チップ --- */
.challenge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.challenge-chip {
  background: #fff;
  border: 1px solid #dce8f5;
  border-left: 4px solid #004CA0;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(0,76,160,0.06);
  transition: transform 0.25s;
}

.challenge-chip:hover { transform: translateY(-3px); }

.chip-icon { font-size: 1.5rem; flex-shrink: 0; }

.challenge-chip strong {
  display: block;
  color: #004CA0;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.challenge-chip p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.challenge-arrow {
  font-size: 1.4rem;
  color: #d9a333;
  font-weight: bold;
  flex-shrink: 0;
}

/* --- セクションラベル --- */
.strategy-section-label {
  font-size: 1rem;
  font-weight: bold;
  color: #004CA0;
  border-left: 4px solid #d9a333;
  padding-left: 12px;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}

/* --- 核心戦略カード --- */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.strategy-card {
  background: #fff;
  border: 1px solid #e0eaf5;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px rgba(0,76,160,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.strategy-card:nth-child(1) { animation-delay: 0.1s; }
.strategy-card:nth-child(2) { animation-delay: 0.2s; }
.strategy-card:nth-child(3) { animation-delay: 0.3s; }
.strategy-card:nth-child(4) { animation-delay: 0.4s; }
.strategy-card:nth-child(5) { animation-delay: 0.5s; }

.strategy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,76,160,0.12);
  border-color: #d9a333;
}

.strategy-card--wide {
  grid-column: 1 / -1;
}

.strategy-num {
  font-size: 2rem;
  font-weight: 900;
  color: #e8f0fb;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Cambria', serif;
}

.strategy-card h4 {
  font-size: 1rem;
  color: #004CA0;
  margin: 0 0 14px;
  border-bottom: 1px dashed #cdd9ec;
  padding-bottom: 8px;
}

.strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strategy-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.87rem;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.5;
}

.strategy-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.sl-label {
  display: inline-block;
  background: #004CA0;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 1px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- ロードマップタイムライン --- */
.roadmap-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.roadmap-item {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 18px;
  border: 1px solid #e0eaf5;
  box-shadow: 0 2px 8px rgba(0,76,160,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.roadmap-item:hover { transform: translateY(-3px); }

.roadmap-short { border-top: 4px solid #5dade2; animation-delay: 0.1s; }
.roadmap-mid   { border-top: 4px solid #004CA0; animation-delay: 0.2s; }
.roadmap-long  { border-top: 4px solid #d9a333; animation-delay: 0.3s; }

.roadmap-connector {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9a333;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.roadmap-connector::after { content: '▶'; }

.roadmap-phase {
  font-size: 0.9rem;
  font-weight: bold;
  color: #004CA0;
  line-height: 1.4;
}

.roadmap-phase span {
  display: block;
  font-size: 0.75rem;
  color: #888;
  font-weight: normal;
  font-family: 'Cambria', serif;
}

.roadmap-content h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #333;
}

.roadmap-content p {
  margin: 0;
  font-size: 0.83rem;
  color: #555;
  line-height: 1.6;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .future-vision-grid {
    grid-template-columns: 1fr;
  }
  .strategy-grid {
    grid-template-columns: 1fr;
  }
  .strategy-card--wide {
    grid-column: 1 / -1;
  }
  .strategy-list--cols {
    grid-template-columns: 1fr;
  }
  .success-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .todo-block {
    padding: 28px 18px;
  }
  .challenge-row {
    flex-direction: column;
    align-items: stretch;
  }
  .challenge-arrow {
    text-align: center;
  }
  .challenge-chip {
    max-width: 100%;
  }
  .roadmap-timeline {
    flex-direction: column;
  }
  .roadmap-connector {
    width: auto;
    height: 20px;
    transform: rotate(90deg);
  }
}

/* Credentials (Grid Layout) */
.credentials-wrapper {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.credentials-section {
    flex: 1;
    min-width: 300px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.card-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,76,160, 0.15);
    border-color: #d9a333;
}

.card-text h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.card-text p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: #666;
}

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.card-logo-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.card-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   video-gallery レスポンシブ対応
============================================ */
.video-gallery {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.video-gallery iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    display: block;
    margin-bottom: 8px;
}