@charset "utf-8";

:root {
  --main-color: #0096E6;
  --sub-color: #0564C8;
}

section.mainvisual {
  position: relative;
  width: 100%;
  height: 469px;
  background: url(../img/home/fv.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0 30px;
}

.mainvisual_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 880px;
  height: 469px;
  margin: 0 auto;
  z-index: 2;
}

.mainvisual_text .mainvisual_text_block h1 {
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 3px 3px 3px #000000CC;
}

.mainvisual_text .mainvisual_text_block h1 .main-catch {
  font-weight: bold;
  font-size: 3.5rem;
  line-height: 1.3;
  padding-bottom: 35px;
  text-shadow: 3px 3px 5px #000000CC;
}

.mainvisual_text .mainvisual_text_block h1 .main-catch span.serif {
  display: inline-block;
  font-size: 8.4rem;
  font-weight: normal;
  letter-spacing: 15px;
  padding-right: 5px;
}

.mainvisual_text .mainvisual_text_block a.kadai-list-btn {
  position: relative;
  display: block;
  width: 181px;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: 10px 0 8px;
  border: 1px solid #fff;
  background-color: var(--sub-color);
  transition: all ease 0.3s;
}

.mainvisual_text .mainvisual_text_block a.kadai-list-btn:before {
  position: absolute;
  content: "";
  vertical-align: middle;
  top: -3px;
  bottom: 0;
  right: 15px;
  width: 5px;
  height: 5px;
  margin: auto;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mainvisual_text .mainvisual_text_block a.kadai-list-btn:hover {
  opacity: 1;
  background-color: var(--main-color);
}

.mainvisual_text figure {
  max-width: 390px;
}

@media screen and (max-width:767px) {
  .main_visual_text {
    max-width: 453px;
    width: 80%;
    top: 50%;
    left: 36%;
    margin-top: -25%;
    margin-left: -25%;
  }

}

.top_contents_wrap .top_contents_wrap_read .inner p {
  max-width: 868px;
  margin: 0 auto;
  padding-top: 48px;
}

.top_contents_wrap .top_contents_wrap_tech h2 {
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
  padding-top: 72px;
}

.top_contents_wrap .top_contents_wrap_tech h2 span {
  display: block;
  font-size: 1.6rem;
}

.top_contents_wrap .top_contents_wrap_tech .flex {
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 868px;
  margin: 0 auto;
  padding-top: 34px;
}

/* ソリューション技術のボックス（新技術導入制度、B-DASH実証技術の導入）のスタイル変更 */
.top_contents_wrap .top_contents_wrap_tech .flex .top_contents_wrap_tech_box {
  width: 47.4%;
  background-color: #fff; /* 白背景 */
  border: 2px solid #FF2E4B; /* 囲みの色と太さ */
  border-radius: 8px; /* 角を丸くする */
  padding: 20px; /* 内側の余白 */
  box-sizing: border-box; /* パディングを幅に含める */
  margin-bottom: 30px; /* flexアイテム間の下マージン */
}

/* ソリューション技術のボックス内のh3（新技術導入制度、B-DASH実証技術の導入）のスタイル変更 */
.top_contents_wrap .top_contents_wrap_tech .flex .top_contents_wrap_tech_box h3 {
  background-color: transparent; /* 背景色を透明に */
  color: #FF2E4B; /* 文字色をFF2E4Bに */
  text-align: center;
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1;
  padding: 0 0 10px; /* 上下左右のパディングを調整。下線との間隔 */
  margin-bottom: 20px; /* h3と次の要素との間隔 */
  border-bottom: 1px solid #FF2E4B; /* h3の下に線を入れる */
}

/* 新技術導入制度の詳細ボタンのスタイル */
.top_contents_wrap_tech_box .tech-button {
  display: inline-block; /* インラインブロック要素として表示 */
  margin-top: 25px; /* 上の要素との間隔 */
  padding: 14px 30px; /* 内側の余白 */
  background-color: #007bff; /* ボタンの背景色（青系） */
  color: #ffffff; /* 文字色（白） */
  text-decoration: none; /* 下線をなくす */
  border-radius: 8px; /* 角の丸み */
  font-size: 16px; /* フォントサイズ */
  font-weight: bold; /* フォントの太さ */
  text-align: center; /* テキストを中央揃え */
  transition: background-color 0.3s ease, transform 0.2s ease; /* ホバー時のアニメーション */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

.top_contents_wrap_tech_box .tech-button:hover {
  background-color: #0056b3; /* ホバー時の背景色を少し濃く */
  transform: translateY(-2px); /* ホバー時に少し上に浮き上がる */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* ホバー時に影を強調 */
}

.top_contents_wrap_tech_box .tech-button:active {
  background-color: #004085; /* クリック時の背景色 */
  transform: translateY(0); /* クリック時に元の位置に戻る */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* クリック時に影を控えめに */
}


.top_needs {
  background: url(../img/home/img-needs.jpg) no-repeat;
  background-position: top;
  background-size: contain;
  margin-top: 89px;
}

.top_needs .inner {
  padding-top: 120px;
}

.top_needs .inner h2 {
  font-size: 3.3rem;
  font-weight: bold;
  text-align: center;
  padding-bottom: 15px;
}

.top_needs .inner h2 .en {
  display: block;
  font-size: 80px;
  color: var(--main-color);
  letter-spacing: 3.2px;
  line-height: 1.3;
  opacity: 0.22;
}

.top_needs .inner .top_needs_flex {
  max-width: 1000px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

.top_needs .inner .top_needs_flex::after {
  content: "";
  display: block;
  width: 32.7%;
}

.top_needs .inner .top_needs_flex a {
  display: flex;
}

/* 課題の下のパネルのデフォルトスタイル（必要であれば） */
.top_needs .inner .top_needs_flex .top_needs_flex_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  width: 325px;
  height: 210px;
  padding-top: 19px;
  background-color: #CCCCCC; /* デフォルトの色、またはFFF100など */
  border-radius: 8px;
  margin-bottom: 13px;
}

/* 個別のカテゴリー色 */
.top_needs .inner .top_needs_flex .category-kadai-new { background-color: #FFEC8B; } /* 背景色を明るい黄色に変更 */
.top_needs .inner .top_needs_flex .category-kadai01 { background-color: #65A531; }
.top_needs .inner .top_needs_flex .category-kadai02 { background-color: #009C97; }
.top_needs .inner .top_needs_flex .category-kadai03 { background-color: #4A75A2; }
.top_needs .inner .top_needs_flex .category-kadai04 { background-color: #935F8F; }
.top_needs .inner .top_needs_flex .category-kadai05 { background-color: #BA5B65; }
.top_needs .inner .top_needs_flex .category-kadai06 { background-color: #BD7839; }


.top_needs .inner .top_needs_flex a:nth-child(even) .top_needs_flex_box {
  /* 偶数番目の要素に対する既存のスタイルを上書きしないように注意 */
  /* 個別のカテゴリークラスが優先されるため、この行は削除またはコメントアウトしても良い */
  /* background-color: var(--sub-color); */
}

.top_needs .inner .top_needs_flex .top_needs_flex_box figure {
  width: 60px;
  padding: 6px 0 10px;
  margin: 0 auto;
}

.top_needs .inner .top_needs_flex .top_needs_flex_box h3 {
  width: 100%;
  padding-bottom: 18px;
  color: #fff; /* デフォルトの白文字 */
  font-weight: bold;
  font-size: 2.0rem;
  line-height: 1.4;
  text-align: center;
}

/* New Releaseのh3文字色を、デフォルトのh3定義の後に配置 */
.top_needs .inner .top_needs_flex .category-kadai-new h3 { color: #007A67 !important; } /* !importantを維持 */


.top_needs .inner .top_needs_flex .top_needs_flex_box h3:after {
  content: '';
  display: block;
  width: 25px;
  height: 10px;
  background-image: url(../img/common/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: bottom;
  margin: 20px auto 0;
}

.top_solution .inner h2 {
  font-size: 3.3rem;
  font-weight: bold;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 5px;
}

.top_solution .inner h2 .en {
  display: block;
  font-size: 80px;
  color: var(--main-color);
  letter-spacing: 3.2px;
  line-height: 1.3;
  opacity: 0.22;
}

/*アコーディオン*/
.acd-check {
  display: none;
}

/* 解決策のアコーディオンパネルのデフォルトスタイル */
.acd-label {
  display: flex;
  align-items: center;
  position: relative;
  color: #fff; /* デフォルトの白文字。下記で上書きされる */
  font-size: 2.2rem;
  font-weight: bold;
  padding: 14px 22px;
  margin-top: 20px;
  background-color: #CCCCCC; /* デフォルトの色、またはFFF100など */
  cursor: pointer;
  user-select: none;
}

/* 個別のカテゴリー色 */
.acd-label.category-kadai-new { background-color: #FFEC8B; color: #007A67 !important; } /* 背景色を明るい黄色に変更し、文字色に!importantを維持 */
.acd-label.category-kadai01 { background-color: #65A531; }
.acd-label.category-kadai02 { background-color: #009C97; }
.acd-label.category-kadai03 { background-color: #4A75A2; }
.acd-label.category-kadai04 { background-color: #935F8F; }
.acd-label.category-kadai05 { background-color: #BA5B65; }
.acd-label.category-kadai06 { background-color: #BD7839; }

/* 偶数番目の要素に対する既存のスタイルを上書きしないように注意 */
.acd-label:nth-child(4n+1) {
  /* 個別のカテゴリークラスが優先されるため、この行は削除またはコメントアウトしても良い */
  /* background-color: var(--main-color); */
}

.acd-label span.acd-kadai {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 49px;
  text-align: center;
  width: 49px;
  height: 49px;
  border: 1px solid #fff;
  border-radius: 10px;
  margin-right: 22px;
}

.acd-label .cat-ttl {
  display: inline-block;
  margin-top: 6px;
}

.acd-label .cat-ttl .cat-desc {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: normal;
  padding-left: 15px;
}

.acd-label:after {
  display: block;
  position: absolute;
  box-sizing: border-box;
  content: '';
  right: 28px;
  width: 17px;
  height: 17px;
  background-image: url(../img/common/icon_minus.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.acd-label:before {
  display: block;
  position: absolute;
  box-sizing: border-box;
  content: '';
  right: 19px;
  width: 35px;
  height: 35px;
  border: 1px solid #fff;
  border-radius: 8px;
}

.acd-label.is-active:after {
  content: '';
  background-image: url(../img/common/icon_plus.svg);
}

.contents {
  height: auto;
  overflow: hidden;
  opacity: 1;
  transition-duration: 0.4s;
}

.contents a {
  display: block;
}

.contents.is-close {
  height: 0;
  opacity: 0;
}

.acd-content_title {
  position: relative;
  align-items: center;
  padding: 3px 27px 0;
  background-color: #fff;
  border-bottom: 1px solid #C9C9C9;
  height: auto;
  opacity: 1;
  transition-duration: 0.4s;
}

.acd-content_title.is-close {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.acd-content_title:after {
  position: absolute;
  content: "";
  vertical-align: middle;
  top: -3px;
  bottom: 0;
  right: 30px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.acd-content_title .acd-content_title_arrow {
  width: 317px;
  height: 48px;
  padding-top: 22px;
  margin: 0 auto;
}

.acd-content_title.arrow:after, .acd-content_title.arrow {
  border: none;
  margin: 0 0 27px;
}

.acd-content_title p {
  display: flex;
  align-items: center;
  color: var(--main-color);
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
}

.acd-check:nth-child(even):checked + .acd-label + .acd-content_title p {
  color: var(--sub-color);
}

.acd-content_title p span.en {
  display: inline-block;
  width: 59px;
  text-align: center;
  margin-bottom: 10px;
  padding-left: 17px;
  font-size: 6.0rem;
}

.acd-content_title h3 {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
  padding-left: 30px;
  padding-right: 20px;
}

.acd-content_title h3 strong {
  font-weight: bold;
}

.acd-content_title.arrow .acd-content_title_back a {
  display: block;
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: right;
  color: var(--sub-color);
  padding: 35px 20px 15px;
  margin-bottom: 60px;
}

.acd-content_title.arrow .acd-content_title_back a:before, .acd-content_title.arrow .acd-content_title_back a:after {
  position: absolute;
  top: 16px;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.acd-content_title.arrow .acd-content_title_back a:before {
  right: 5px;
  width: 2px;
  height: 14px;
  background: var(--sub-color);
}

.acd-content_title.arrow .acd-content_title_back a:after {
  right: 0px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--sub-color);
  border-right: 2px solid var(--sub-color);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.top_pdf{
  display: flex;
  justify-content: center;
  margin: 138px auto 26px;
}
.top_pdf a{
  position: relative;
  display: block;
  padding: 19px 21px 15px;
  margin: 0 20px 20px;
  border: 1px solid #707070;
  width: 349px;
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.5;
}

.top_pdf a:after {
  position: absolute;
  top: -3px;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  right: 27px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.top_pdf a span {
  display: block;
  font-size: 1.5rem;
  color: var(--sub-color);
}

/* ページ下部の技術パンフレットなどのボタンのスタイル */
.bottom-tech-links p .tech-button {
  display: inline-block; /* インラインブロック要素として表示 */
  margin-top: 25px; /* 上の要素との間隔 */
  padding: 14px 30px; /* 内側の余白 */
  background-color: #007bff; /* ボタンの背景色（青系） */
  color: #ffffff; /* 文字色（白） */
  text-decoration: none; /* 下線をなくす */
  border-radius: 8px; /* 角の丸み */
  font-size: 16px; /* フォントサイズ */
  font-weight: bold; /* フォントの太さ */
  text-align: center; /* テキストを中央揃え */
  transition: background-color 0.3s ease, transform 0.2s ease; /* ホバー時のアニメーション */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

.bottom-tech-links p .tech-button:hover {
  background-color: #0056b3; /* ホバー時の背景色を少し濃く */
  transform: translateY(-2px); /* ホバー時に少し上に浮き上がる */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* ホバー時に影を強調 */
}

.bottom-tech-links p .tech-button:active {
  background-color: #004085; /* クリック時の背景色 */
  transform: translateY(0); /* クリック時に元の位置に戻る */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* クリック時に影を控えめに */
}


@media screen and (max-width:1024px) {
  .top_needs .inner .top_needs_flex .top_needs_flex_box {
    width: 44vw;
  }


  .acd-label .cat-ttl .cat-desc {
    font-size: 1.4rem;
    padding-left: 0;
  }

  .acd-label .cat-ttl {
    line-height: 1.5;
  }

}

@media screen and (max-width:767px) {
  section.mainvisual {
    height: 410px;
    background: url(../img/home/sp-fv.jpg) no-repeat;
    background-size: cover;
    background-position: center;
  }

  .mainvisual_text {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    text-align: center;
    height: 410px;
  }

  .mainvisual_text .mainvisual_text_block h1 {
    font-weight: bold;
    font-size: 1.7rem;
    text-shadow: 2px 2px 2px #000000CC;
    padding-top: 53px;
  }

  .mainvisual_text .mainvisual_text_block h1 .main-catch {
    font-size: 1.6rem;
    text-shadow: 3px 3px 3px #000000CC;
    padding-bottom: 13px;
  }

  .mainvisual_text .mainvisual_text_block h1 .main-catch span.serif {
    position: relative;
    top: 5px;
    font-size: 4.3rem;
    text-shadow: 3px 3px 3px #000000CC;
    letter-spacing: 0.06em;
  }

  .mainvisual_text .mainvisual_text_block h1 .main-catch span.serif:last-of-type {
    padding-left: 5px;
  }

  .mainvisual_text figure {
    max-width: 272px;
  }

  .mainvisual_text .mainvisual_text_block a.kadai-list-btn {
    position: absolute;
    bottom: 30px;
    margin: auto;
    left: 0;
    right: 0;
  }

  .top_contents_wrap .top_contents_wrap_tech .flex .top_contents_wrap_tech_box {
    width: 100%;
  }

  .top_contents_wrap .top_contents_wrap_tech .flex .top_contents_wrap_tech_box:first-of-type {
    margin-bottom: 48px;
  }

  .top_contents_wrap .top_contents_wrap_tech .flex .top_contents_wrap_tech_box h3 {
    font-size: 1.8rem;
    margin-bottom: 22px;
  }

  .top_needs {
    margin-top: 60px;
  }

  .top_needs .inner {
    padding-top: 35px;
  }

  .top_needs .inner .top_needs_flex {
    flex-wrap: wrap;
    width: 100%;
  }

  .top_needs .inner .top_needs_flex .top_needs_flex_box, .top_needs .inner .top_needs_flex a {
    width: 100%;
  }

  .top_needs .inner .top_needs_flex .top_needs_flex_box {
    display: flex;
    flex-direction: row;
    padding-top: 0;
    align-items: center;
    position: relative;
    height: 74px;
    margin-bottom: 6px;
  }

  .top_needs .inner .top_needs_flex a:nth-child(3) .top_needs_flex_box figure, .top_needs .inner .top_needs_flex a:nth-child(4) .top_needs_flex_box figure, .top_needs .inner .top_needs_flex a:nth-child(5) .top_needs_flex_box figure, .top_needs .inner .top_needs_flex a:nth-child(6) .top_needs_flex_box figure {
    width: 40px;
  }

  .top_needs .inner .top_needs_flex .top_needs_flex_box h3 {
    display: inline-block;
    padding-bottom: 0;
    text-align: left;
    font-size: 1.5rem;
    width: 66%;
  }

  .top_needs .inner .top_needs_flex .top_needs_flex_box h3:after {
    position: absolute;
    content: "";
    background-image: none;
    vertical-align: middle;
    top: -3px;
    bottom: 0;
    right: 19px;
    width: 10px;
    height: 10px;
    margin: auto;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .top_needs .inner h2, .top_solution .inner h2 {
    font-size: 2.5rem;
  }

  .top_needs .inner h2 .en, .top_solution .inner h2 .en {
    font-size: 6.5rem;
  }

  .top_solution .inner h2 {
    padding-top: 70px;
  }

  .acd-label {
    font-size: 2.0rem;
    padding: 10px 22px;
    margin-top: 8px;
  }

  .acd-label .cat-ttl {
    width: 86%;
  }

  .acd-label:before {
    width: 25px;
    height: 25px;
  }

  .acd-label:after {
    width: 13px;
    right: 25px;
  }

  .acd-content_title .acd-content_title_arrow {
    width: 223px;
    height: 30px;
    padding-top: 8px
  }

  .acd-content_title {
    padding: 0;
  }

  .acd-content_title p {
    display: inline-block;
    padding: 15px 0;
  }

  .acd-content_title p span.en {
    display: block;
    width: auto;
    line-height: 0.8;
    padding: 0;
    margin-bottom: 0
  }

  .acd-content_title h3 {
    font-size: 1.5rem;
    padding: 15px 25px 13px;
  }

  .acd-content_title:after {
    right: 4px;
  }

  .acd-content_title.arrow .acd-content_title_back a {
    padding: 28px 25px 0;
  }

  .acd-content_title.arrow .acd-content_title_back a:before, .acd-content_title.arrow .acd-content_title_back a:after {
    top: 24px;
  }

  .acd-content_title.arrow .acd-content_title_back a:before {
    right: 10px;
  }

  .acd-content_title.arrow .acd-content_title_back a:after {
    right: 5px;
  }


  .top_pdf{
    width: 90%;
    flex-direction: column;
    margin: 40px auto 0;
  }
  .top_pdf a {
    width: 100%;
    margin: 0 auto 40px;
  }

}