/* METI Startup and New Business Promotion - Custom Styles */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ========================================
   Container and Layout
   ======================================== */

.snbp {
  max-width: 1000px;
  margin: 0 auto 2rem;
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.9375;
  color: #333;
  padding-top: 3rem;
  position: relative;
  z-index: 1;
  background-color: #fff;
}

.snbp *,
.snbp *::before,
.snbp *::after {
  box-sizing: border-box;
}

/* ========================================
   Template CSS Override / Reset
   /css_2017/style.css のグローバルスタイルを
   .snbp 内で上書きする
   ======================================== */

.snbp h2,
.snbp h3,
.snbp h4,
.snbp h5 {
  font-family: inherit;
  border: none;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: inherit;
  text-align: inherit;
}

/* テンプレートの h2::after 擬似要素（青バー）を無効化 */
.snbp h2::after {
  content: none;
  display: none;
}

/* テンプレートの p, ul, ol マージン・パディングをリセット */
.snbp p {
  font-family: inherit;
  margin-bottom: 0;
}

.snbp ul,
.snbp ol {
  font-family: inherit;
  margin-bottom: 0;
  padding-left: 0;
}

.snbp li {
  list-style: none;
}

/* テンプレートの a カラーをリセット */
.snbp a {
  font-family: inherit;
  color: inherit;
}

.snbp a:hover {
  color: inherit;
}

/* テンプレートの img border をリセット */
.snbp img {
  border: none;
}

/* ========================================
   Hero Banner Section
   ======================================== */

.snbp-hero {
  background-color: #0f4191;
  background-image: url('../image/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  width: 100vw;
  margin-top: -13px;
  margin-left: calc(-50vw + 50%);
}

.snbp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 65, 145, 0.2);
}

.snbp-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 1000px;
  width: 100%;
}

.snbp-hero-title {
  font-size: 3.8rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  color: white;
  border: none;
  border-bottom: none;
  padding-bottom: 0;
}

/* ヒーロー内 h2 のテンプレート ::after を無効化 */
.snbp-hero-title::after {
  content: none;
  display: none;
}

/* ========================================
   Two Cards Section
   ======================================== */

.snbp-cards {
  margin-bottom: 3rem;
}

.snbp-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.snbp-card {
  padding: 2rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snbp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.snbp-card-investor {
  background-color: #0f4191;
  color: white;
}

.snbp-card-entrepreneurs {
  background-color: #66b6d6;
  color: white;
}

.snbp-card-title {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  color: white;
}

.snbp-card-text {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.snbp-card-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.snbp-card-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Innovation Section
   ======================================== */

.snbp-innovation {
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.snbp-section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  color: #333;
}

.snbp-divider {
  height: 4px;
  background: linear-gradient(to right, #0f4191, #66b6d6);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.snbp-section-description {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #666;
  margin: 0 0 2rem 0;
}

.snbp-events-button-container {
  margin-top: 2rem;
}

.snbp a.snbp-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: #1a5fa8;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.75rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.snbp a.snbp-button:hover {
  background-color: #0f4191;
  color: white;
}

/* ========================================
   News Releases Section
   ======================================== */

.snbp-news {
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

/* ========================================
   Policy Section
   ======================================== */

.snbp-policy {
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

.snbp-policy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.snbp-policy-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.snbp-policy-list li:last-child {
  border-bottom: none;
}

.snbp-policy-list a {
  color: #0f4191;
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.snbp-policy-list a:hover {
  color: #1a5fa8;
  text-decoration: underline;
}

.snbp-policy-list img {
  width: 14px;
  height: 14px;
  display: inline;
  margin-left: 0.25rem;
}

/* ========================================
   Related Links Section
   ======================================== */

.snbp-related {
  padding: 2rem 0;
}

.snbp-link-group {
  margin-bottom: 2.5rem;
}

.snbp-link-group-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0f4191;
}

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

.snbp-link-list li {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.snbp-link-list a {
  color: #0f4191;
  text-decoration: none;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.snbp-link-list a:hover {
  color: #1a5fa8;
  text-decoration: underline;
}

.snbp-link-list img {
  width: 12px;
  height: 12px;
  display: inline;
  margin-left: 0.25rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {

  .snbp-cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .snbp-card {
    min-height: 200px;
    padding: 1.5rem;
  }



  .snbp-button {
    padding: 0.75rem 1.5rem;

  }

  .snbp-hero {
    height: 250px;
  }


}

@media (max-width: 480px) {


  .snbp-hero {
    height: 200px;
  }




  .snbp {
    margin-bottom: 1.5rem;
  }

  .snbp-cards {
    margin-bottom: 2rem;
  }

  .snbp-innovation,
  .snbp-news,
  .snbp-policy,
  .snbp-related {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
}

/* ========================================
   For Investor Page Styles
   ======================================== */

.snbp-investor-header {
  background-color: #0f4191;
  padding: 3rem max(2rem, calc((100vw - 1000px) / 2));
  margin-top: -4.4rem;
  margin-bottom: 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.snbp-investor-header-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  border: none;
  padding-bottom: 0;
}

.snbp-investor-section {
  margin-bottom: 3rem;
  padding: 1rem 0;
}

.snbp-investor-boxes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.snbp-investor-box {
  background-color: #d9e4ee;
  border-radius: 1.5rem;
  padding: 2rem;
}

.snbp-investor-box-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 1rem;
  color: #333;
}

.snbp-investor-box-text {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
  color: #333;
}

.snbp-investor-box-link {
  color: #0f4191;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.snbp-investor-box-link:hover {
  text-decoration: none;
}

.snbp-investor-box-link img {
  width: 14px;
  height: 14px;
}

.snbp-investor-main-box {
  background-color: #d9e4ee;
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-top: 1.5rem;
}

.snbp-investor-main-box-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.snbp-investor-main-box-text {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.snbp-investor-features {
  list-style-type: disc;
  padding-left: 1.5rem;
  padding-bottom: 1.5rem;
  line-height: 1.8;
}
.snbp-investor-features li {
  list-style-type: disc;
  margin-left: 1.75rem;
}
.snbp-investor-inner-box {
  background-color: #c7d2dc;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.snbp-investor-inner-box-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.snbp-investor-inner-box-text {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.snbp-investor-inner-box-subtitle {
  font-weight: 700;
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}
.snbp-investor-inner-box-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  padding-bottom: 1.5rem;
  line-height: 1.8;
}
.snbp-investor-inner-box-list li {
  list-style-type: disc;
  margin-left: 1.75rem;
}

.snbp-investor-inner-box-subsidiary-title {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.snbp-investor-inner-box-link {
  color: #0f4191;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.snbp-investor-inner-box-link:hover {
  text-decoration: none;
}

.snbp-investor-inner-box-link img {
  width: 13px;
  height: 13px;
}

.snbp-investor-jstartup-box {
  background-color: #d9e4ee;
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.snbp-investor-jstartup-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.snbp-investor-jstartup-text {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.snbp-investor-jstartup-link {
  color: #0f4191;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.snbp-investor-jstartup-link:hover {
  text-decoration: none;
}

.snbp-investor-jstartup-link img {
  width: 13px;
  height: 13px;
}

/* ========================================
   For Entrepreneurs Page Styles
   ======================================== */

.snbp-for-entrepreneurs-hero {
  background-color: #66b6d6;
  padding: 3rem max(2rem, calc((100vw - 1000px) / 2));
  margin-top: -4.4rem;
  margin-bottom: 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.snbp-for-entrepreneurs-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  border: none;
  padding-bottom: 0;
}

.snbp-section {
  margin-bottom: 2rem;
}

.snbp-subsection-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 2rem 0 1rem;
  color: #333;
}

.snbp-info-box {
  background-color: #eef6fa;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.snbp-box-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 0.75rem;
  color: #333;
}

.snbp-box-text {
  font-size: 1.75rem;
  line-height: 1.8;
  margin: 0 0 1rem;
  color: #333;
}

.snbp-box-link {
  color: #0f4191;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.snbp-box-link:hover {
  text-decoration: none;
}

.snbp-box-link img {
  width: 14px;
  height: 14px;
}

.snbp-programs-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
}

.snbp-programs-grid {
  display: grid;
  gap: 1rem;
}

.snbp-program-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.snbp-program-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.snbp-program-link {
  color: #0f4191;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.snbp-program-link:hover {
  text-decoration: none;
}

.snbp-program-link img {
  width: 13px;
  height: 13px;
}

.snbp-program-sublinks {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.snbp-program-sublinks li {
  margin-bottom: 0.5rem;
}

.snbp-program-sublinks a {
  color: #0f4191;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.snbp-program-sublinks a:hover {
  text-decoration: none;
}

.snbp-program-sublinks img {
  width: 13px;
  height: 13px;
}

.snbp-support-subboxes {
  margin-top: 1.5rem;
}

.snbp-support-item {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.snbp-support-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.snbp-support-text {
  font-size: 1.75rem;
  line-height: 1.8;
  margin: 0 0 0.75rem;
}

.snbp-support-link {
  color: #0f4191;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.snbp-support-link:hover {
  text-decoration: none;
}

.snbp-support-link img {
  width: 13px;
  height: 13px;
}

/* ========================================
   Event Page Styles
   ======================================== */

.snbp-event-hero {
  background-color: #245878;
  padding: 3rem max(2rem, calc((100vw - 1000px) / 2));
  margin-top: -4.4rem;
  margin-bottom: 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.snbp-event-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  border: none;
  padding-bottom: 0;
}

.snbp-event-section {
  margin-bottom: 3rem;
}

.snbp-event-logo {
  text-align: center;
  margin: 2rem 0;
}

.snbp-event-logo img {
  max-width: 400px;
  height: auto;
}

.snbp-event-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.snbp-event-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.snbp-event-image-item {
  text-align: center;
}

.snbp-event-image-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.snbp-event-image-item img.flexible {
  max-width: 100%;
  border-radius: 1rem;
  height: auto;
  display: block;
}

.snbp-event-image-title {
  display: inline;
  margin-top: 0.75rem;
  font-weight: 500;
  color: #0f4191;
  text-decoration: underline;
}

.snbp-event-image-item .snbp-event-caption {
  margin-top: 0.75rem;
}

.snbp-event-caption a {
  color: #0f4191;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.snbp-event-caption a:hover {
  text-decoration: none;
}

.snbp-event-caption img {
  width: 13px;
  height: 13px;
}

.snbp-external-icon {
  width: 14px;
  height: 14px;
  display: inline;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.snbp-event-link-wrapper a {
  background: url(/img_2017/template/icon08.png)no-repeat left;
  background-position: 0 4px; 
  padding-left: 20px;
}

/* ========================================
   Limited Partnership Page Styles
   ======================================== */

.snbp-lpa-header {
  background-color: #245878;
  padding: 3rem max(2rem, calc((100vw - 1000px) / 2));
  margin-top:-4.5rem;
  margin-bottom: 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.snbp-lpa-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin: 0;
  line-height: 1.3;
  border: none;
  padding-bottom: 0;
}

.snbp-lpa-content {
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.snbp-lpa-body {
  font-size: 1.75rem;
  line-height: 1.8;
  color: #333;
}

.snbp-lpa-body p {
  margin: 0 0 1.5rem 0;
  text-align: justify;
}

.snbp-lpa-body p:last-child {
  margin-bottom: 0;
}

.snbp-lpa-documents {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.snbp-lpa-documents:last-of-type {
  border-bottom: none;
}

.snbp-lpa-section-subtitle {
  font-size: 2.25rem;
  font-weight: 600;
  color: #00597b;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  position: relative;
}

.snbp-lpa-section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 4px;
  background: linear-gradient(to right, #0f4191, #66b6d6);
  border-radius: 2px;
}

/* snbp-divider is used after h3 for underline */

.snbp-lpa-volume {
  margin-bottom: 2rem;
}

.snbp-lpa-volume-title {
  font-size:2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
}

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

.snbp-lpa-list li {
  margin-bottom: 1rem;
}

.snbp-lpa-list a {
  color: #0f4191;
  text-decoration: none;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.snbp-lpa-list a:hover {
  color: #1a5fa8;
  text-decoration: underline;
}

.snbp-lpa-list img {
  width: 14px;
  height: 14px;
  display: inline;
  margin-left: 0.25rem;
}

.snbp-lpa-resources {
  padding: 2rem 0;
}

.snbp-lpa-resources-text {
  font-size: 1.75rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1.5rem 0;
}

/* Investor & Entrepreneurs Responsive Design */
@media (max-width: 768px) {


  .snbp-investor-boxes-container {
    grid-template-columns: 1fr;
  }

  .snbp-event-images,
  .snbp-event-images-grid {
    grid-template-columns: 1fr;
  }

  .snbp-investor-box,
  .snbp-investor-main-box,
  .snbp-investor-inner-box,
  .snbp-info-box {
    border-radius: 1rem;
    padding: 1.5rem;
  }
}

/* Limited Partnership Responsive Design */
@media (max-width: 768px) {
  .snbp-lpa-header {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }




}

@media (max-width: 480px) {
  .snbp-lpa-header {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }



  .snbp-lpa-body {
    line-height: 1.6;
  }



  .snbp-lpa-documents {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .snbp-lpa-volume {
    margin-bottom: 1.5rem;
  }

  .snbp-lpa-list li {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
  }

}
