@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700");

/* mainvisual */
.mainvisual{
  background-color: #f0f6fb;
}
.mainvisual-container{
  background: no-repeat top url("../images/index/bg_main.png");
  min-height: 600px;
  background-size: cover;
  max-width: 1240px;
  margin: 0 auto;
}
.mainvisual-wrapper{padding-top: 5rem; }
.mainvisual-wrapper .slope{width: 590px; height: 120px; text-align: center; padding-left: 6rem; }
.catchcopy{
  font-size: 3.5rem;
  text-align: center;
  text-shadow: -1px 2px 19px #000c47;
  padding-top: 1rem;
  position: relative;
  color: #fff;
}
.catchcopy-text{
  padding-top: 5rem; line-height: 1.6; font-size: 1.5rem; text-align: center; color: #fff;
}
/* mainvisual 1024px以下 */
@media (max-width: 1024px) {
  .mainvisual-container{
    min-height: 480px;
    background-position: center top;
  }
  .mainvisual-wrapper{
    padding-top: 3rem;
  }
  .mainvisual-wrapper .slope{
    width: 460px;
    height: auto;
    padding-left: 3rem;
  }
  .catchcopy{
    font-size: 2.8rem;
  }
  .catchcopy-text{
    font-size: 1.2rem;
    padding-top: 3rem;
  }
}

/* mainvisual 768px以下 */
@media (max-width: 768px) {
  .mainvisual-container{
    min-height: 380px;
    padding: 0 1.5rem;
    background-position: center top;
    text-align: center;
  }
  .mainvisual-wrapper{
    padding-top: 2.5rem;
  }
  .mainvisual-wrapper .slope{
    width: 80%;
    max-width: 360px;
    height: auto;
    padding-left: 0;
    margin: 0 auto;
  }
  .catchcopy{
    font-size: 2.2rem;
    line-height: 1.4;
  }
  .catchcopy-text{
    font-size: 1rem;
    padding-top: 2rem;
  }
}

/* mainvisual 480px以下 */
@media (max-width: 480px) {
  .mainvisual-container{
    min-height: 320px;
    padding: 0 1rem 2rem;
  }
  .catchcopy{
    font-size: 1.6rem;
  }
  .catchcopy-text{
    font-size: 0.9rem;
    padding-top: 1.5rem;
  }
}


/* introduction*/
.introduction{
  background: linear-gradient(-60deg, #FEE124 0%, #FEE124 35%, #F11B0B 35%, #F11B0B 100%);
  width: 100%;
  z-index: 0;
  padding: 20px 0;
  display: inline-flex;
  justify-content: center;
}
.introduction-wrapper{
  max-width: 1200px;
  display: inline-flex;
}
.txt_box .section-title{
  color: #fff;
  font-size: 2.0rem;
  padding: 10px 20px;
}
.txt_box .section-text{
  color: #fff;
  padding: 20px;
}
.imd-item img{
  max-width: 300px;
}

/* features */
.features {
  padding: 80px 20px;
  background: white;
}
.features .section-title {
  text-align: center;
  font-size: 36px;
  color: #1e4d8b;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.features .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.feature-card {
  background: #f8fbff;
  border: 2px solid #e3eef9;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(30,77,139,0.15);
  border-color: #2d6ab4;
}
.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
}
.feature-icon img{
  height: 100%;
  max-height: 150px;
}
.feature-title {
  font-size: 24px;
  color: #1e4d8b;
  margin-bottom: 15px;
  font-weight: bold;
}
.feature-desc {
  color: #555;
  line-height: 1.8;
}
.feature-highlight {
  color: #ff6b35;
  font-weight: bold;
}

/* service */
.services {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, #f0f6fb 0%, #ffffff 100%);
}
.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.services-wrapper .section-title {
  text-align: center;
  font-size: 36px;
  color: #1e4d8b;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.services-wrapper .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}
.services-wrapper .section-subtitle {
  text-align: center;
  margin-bottom: 4rem;
  color: #666666;
  font-size: 1.1rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #e6e6e6;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 76, 151, 0.15);
  border-color: #004c97;
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}
.service-icon img{
  height: 100%;
  max-height: 150px;
}
.service-card h3 {
  color: #004c97;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card p {
  color: #666666;
  line-height: 1.8;
}

/* process */
.process {
  padding: 80px 20px 100px;
  background: white;
}
.process-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 30px;
  color: #2d6ab4;
  font-size: 24px;
  font-weight: bold;
}
.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2d6ab4, #1e4d8b);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}
.process-title {
  font-size: 18px;
  color: #1e4d8b;
  margin-bottom: 10px;
  font-weight: bold;
}
.process-desc {
  font-size: 14px;
  color: #666;
}
.process-wrapper .section-title{
  text-align: center;
  font-size: 36px;
  color: #1e4d8b;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.process-wrapper .section-title::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}

/* scinex */
.scinex{
  padding: 6rem 2rem;
}
.scinex-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
}
.scinex-container{
  display: grid;
  grid-template-columns: 1fr 3fr;
  /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
  gap: 10px;
  padding: 10px;
  place-items: center;
}
.scinex-wrapper .section-title{
  text-align: center;
  font-size: 36px;
  color: #1e4d8b;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}
.scinex-wrapper .section-title::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}
.section-container-left img{
  width: 100%;
  max-width: 300px;
}
.section-container-right .section-subtitle{
  font-size: 1.1rem;
  color: #666;
}
/* scinex：レスポンシブ対応（追記） */
@media (max-width: 768px) {
  .scinex {
    padding: 60px 16px;
  }

  /* 見出しサイズを他セクションと揃える */
  .scinex-wrapper .section-title {
    font-size: 28px;
  }

  /* 2カラム → 1カラム */
  .scinex-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    place-items: stretch;
  }

  /* ロゴは中央寄せで見やすく */
  .section-container-right {
    order: 1; /* 文章を先に */
  }
  .section-container-left {
    order: 2; /* ロゴを後に */
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  .section-container-left img {
    max-width: 240px;
  }

  /* 文章は左揃え */
  .section-container-right .section-subtitle {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .scinex-wrapper .section-title {
    font-size: 24px;
  }
  .section-container-left img {
    max-width: 200px;
  }
}



/* value */
.value-wrapper{
  max-width: 1200px;
  margin: 0 auto;
}
.value {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f0f6fb 0%, #ffffff 100%);
}
.value-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.value-wrapper .section-title {
  text-align: center;
  font-size: 36px;
  color: #1e4d8b;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}
.value-wrapper .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}
.value-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.value-card {
  background: #fff;
  border: 2px solid #e3eef9;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 76, 151, 0.15);
  border-color: #004c97;
}
.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}
.value-card h3 {
  color: #004c97;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.value-card p {
  color: #666666;
  line-height: 1.8;
}
.value-card img{
  height: 100%;
  max-height: 200px;
}
.value-wrapper .section-subtitle{
  text-align: center;
  margin-bottom: 4rem;
  color: #666666;
  font-size: 1.1rem;
  /*padding: 20px 0;*/
}
.section-subtitle-bottom {
  text-align: center;
  margin: 4rem 0;
  color: #666666;
  font-size: 1.1rem;
}


@media (max-width: 768px) {
  .features {
    padding: 60px 16px;
  }
  .feature-desc{text-align: left;}

  .services {
    padding: 60px 16px;
  }
  .services .section-subtitle{text-align: left;}
  .services-wrapper .section-subtitle {
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
  }
  .services-wrapper .section-title {
    margin-bottom: 30px;
  }

  .process {
    padding: 10px 16px 80px;
  }
  .value .section-subtitle{text-align: left;}
  .value-card p{text-align: left;}
  .section-subtitle-bottom{text-align: left; font-size: 0.9rem; margin: 1rem 0;}
  .value-wrapper .section-subtitle {
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
  }
  .value-wrapper .section-title {
    margin-bottom: 30px;
    font-size: 32px;
  }

  .features .section-title,
  .services-wrapper .section-title,
  .process-wrapper .section-title {
    font-size: 28px;
  }
  .process-steps{
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .process-step:not(:last-child)::after{
    content: '';
  }
}

/* スマホ幅でさらに調整 */
@media (max-width: 480px) {
  .feature-card,
  .service-card {
    padding: 20px 16px;
  }
  .feature-title{
    font-size: 20px;
  }
  .service-card h3{
    font-size: 1.2rem;
  }
}