/*
@include css3(transform, translate(-50%, -50%));
@include css3(transition, 0.3s ease-in-out);  
transform: rotate(0.03deg);
*/
@keyframes slide1 {
  0% {
    transform: translateX(100%); }
  to {
    transform: translateX(-100%); } }
@keyframes slide2 {
  0% {
    transform: translateX(0); }
  to {
    transform: translateX(-200%); } }
@keyframes AnimationTitle {
  0% {
    background-position: 0% 50%; }
  50% {
    background-position: 100% 50%; }
  100% {
    background-position: 0% 50%; } }
.mainBox {
  padding: 110px 20px 20px 20px;
  background-color: #f5f9ff; }
  @media screen and (max-width: 480px) {
    .mainBox {
      padding: 90px 10px 20px; } }
  .mainBox .main {
    position: relative; /* 追加 */
  }

  .mainBox .main .hero-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .mainBox .main > *:not(.hero-bg){
    position: relative;
    z-index: 1;
  }

  .mainBox .main {   
    max-width: 1360px;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    padding: 70px 80px;
    color: #000; }
    @media screen and (max-width: 767px) {
      .mainBox .main {
        height: 450px;
        padding: 40px 30px; } }
    @media screen and (max-width: 450px) {
      .mainBox .main {
        border-radius: 20px; } }
    @media screen and (max-width: 380px) {
      .mainBox .main {
        padding: 25px 20px;
        height: 370px; } }
    .mainBox .main .mainTx .txt {
      display: inline-block;
      font-size: 60px;
      font-weight: 700;
      border-bottom: 2px solid #000;
      padding: 0 0 5px; }
      @media screen and (max-width: 1000px) {
        .mainBox .main .mainTx .txt {
          font-size: 42px; } }
      @media screen and (max-width: 520px) {
        .mainBox .main .mainTx .txt {
          font-size: 32px; } }
      @media screen and (max-width: 380px) {
        .mainBox .main .mainTx .txt {
          font-size: 26px; } }
    .mainBox .main .sub {
      padding: 10px 0 70px 0;
      font-size: 36px;
      font-weight: 700; }
      @media screen and (max-width: 1000px) {
        .mainBox .main .sub {
          font-size: 24px; } }
      @media screen and (max-width: 767px) {
        .mainBox .main .sub {
          padding: 10px 0 25px;
          font-size: 20px; } }
      @media screen and (max-width: 380px) {
        .mainBox .main .sub {
          font-size: 16px; } }
      .mainBox .main .sub br {
        display: none; }
        @media screen and (max-width: 600px) {
          .mainBox .main .sub br {
            display: block; } }
    .mainBox .main .tx {
      font-size: 24px;
      font-weight: 600;
      line-height: 42px; }
      @media screen and (max-width: 1000px) {
        .mainBox .main .tx {
          font-size: 20px; } }
      @media screen and (max-width: 767px) {
        .mainBox .main .tx {
          font-size: 16px;
          line-height: 30px; } }
      @media screen and (max-width: 380px) {
        .mainBox .main .tx {
          font-size: 14px;
          line-height: 24px; } }
      @media screen and (max-width: 450px) {
        .mainBox .main .tx br {
          display: none; } }
  .mainBox .formBox {
    padding: 0;
    margin-top: -200px; }
    @media screen and (max-width: 767px) {
      .mainBox .formBox {
        margin-top: -150px; } }
    @media screen and (max-width: 400px) {
      .mainBox .formBox {
        margin-top: -120px; } }
    @media screen and (max-width: 1080px) {
      .mainBox .formBox .inner {
        max-width: none;
        width: 95%; } }

@media screen and (max-width: 520px) {
  .svg {
    height: 30px; } }

.topBox1 {
  background-color: #f5f9ff;
  padding: 70px 0; }
  @media screen and (max-width: 520px) {
    .topBox1 {
      padding: 35px 0 0; } }
  .topBox1 .inner .flexBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px 0; }
    @media screen and (max-width: 1000px) {
      .topBox1 .inner .flexBox {
        justify-content: center;
        gap: 10px 10px; } }
    @media screen and (max-width: 520px) {
      .topBox1 .inner .flexBox {
        padding: 15px 0; } }
    .topBox1 .inner .flexBox .inBox {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      text-align: center;
      background-color: #FFF;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding: 20px 0 0 0; }
      @media screen and (max-width: 1000px) {
        .topBox1 .inner .flexBox .inBox {
          width: 250px;
          height: 250px; } }
      @media screen and (max-width: 610px) {
        .topBox1 .inner .flexBox .inBox {
          width: 200px;
          height: 200px; } }
      @media screen and (max-width: 470px) {
        .topBox1 .inner .flexBox .inBox {
          width: 140px;
          height: 140px; } }
      .topBox1 .inner .flexBox .inBox .imgBox {
        width: 100%;
        height: 130px;
        display: flex;
        justify-content: center;
        align-items: flex-end; }
        @media screen and (max-width: 610px) {
          .topBox1 .inner .flexBox .inBox .imgBox {
            height: 100px; }
            .topBox1 .inner .flexBox .inBox .imgBox img {
              max-width: none;
              height: 100%;
              width: auto; } }
        @media screen and (max-width: 470px) {
          .topBox1 .inner .flexBox .inBox .imgBox {
            height: 40px; } }
      .topBox1 .inner .flexBox .inBox .txBox {
        font-size: 20px;
        color: #124193;
        font-weight: 600;
        padding: 0 0 30px; }
        @media screen and (max-width: 610px) {
          .topBox1 .inner .flexBox .inBox .txBox {
            font-size: 15px; } }
        @media screen and (max-width: 470px) {
          .topBox1 .inner .flexBox .inBox .txBox {
            font-size: 12px; } }
        .topBox1 .inner .flexBox .inBox .txBox p {
          line-height: 36px; }
          @media screen and (max-width: 610px) {
            .topBox1 .inner .flexBox .inBox .txBox p {
              line-height: 26px; } }
          @media screen and (max-width: 470px) {
            .topBox1 .inner .flexBox .inBox .txBox p {
              line-height: 15px; } }
.mainBox .main{
  position: relative;
  z-index: 0; /* 追加：背面 */
}

/* 2) formBox を前面へ */
.mainBox .formBox{
  position: relative;
  z-index: 2; /* 追加：前面 */
}

/* 3) 背景画像は main の中で一番下 */
.mainBox .main .hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* 変更：-1 にしてさらに下へ */
}

.topBox2 {
  padding: 30px 0 30px;
  background: url("../images/top/bg.webp") no-repeat left bottom;
  background-size: 100%; }
  @media screen and (max-width: 767px) {
    .topBox2 {
      background-size: cover; } }
  @media screen and (max-width: 520px) {
    .topBox2 .com_title {
      margin-bottom: 0; } }
  .topBox2 .reason_in {
    position: relative;
    margin-bottom: 100px; }
    @media screen and (max-width: 450px) {
      .topBox2 .reason_in {
        margin-bottom: 10px; } }
    .topBox2 .reason_in.type2 .inner {
      justify-content: flex-end; }
      .topBox2 .reason_in.type2 .inner .txBox {
        padding: 0 0 0 30px; }
        @media screen and (max-width: 767px) {
          .topBox2 .reason_in.type2 .inner .txBox {
            width: 100%;
            padding: 30px; } }
        @media screen and (max-width: 520px) {
          .topBox2 .reason_in.type2 .inner .txBox {
            padding: 25px 0; } }
    .topBox2 .reason_in.type2 .back .lBox {
      order: 2; }
    .topBox2 .reason_in.type2 .back .rBox {
      order: 1;
      text-align: right;
      padding: 0 30px 0 0; }
      @media screen and (max-width: 767px) {
        .topBox2 .reason_in.type2 .back .rBox {
          padding: 0; } }
    .topBox2 .reason_in .inner {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap; }
      .topBox2 .reason_in .inner .txBox {
        width: 50%;
        padding: 0px 30px 0px 0; }
        @media screen and (max-width: 767px) {
          .topBox2 .reason_in .inner .txBox {
            width: 100%;
            padding: 30px; } }
        @media screen and (max-width: 520px) {
          .topBox2 .reason_in .inner .txBox {
            padding: 25px 0; } }
        .topBox2 .reason_in .inner .txBox .title {
          position: relative; }
          .topBox2 .reason_in .inner .txBox .title span {
            position: absolute;
            top: 30%;
            left: 0;
            z-index: 0;
            color: #F0F0F0;
            font-size: 80px;
            -webkit-transform: translate(0%, -50%);
            -moz-transform: translate(0%, -50%);
            -ms-transform: translate(0%, -50%);
            -o-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
            line-height: 100%; }
            @media screen and (max-width: 520px) {
              .topBox2 .reason_in .inner .txBox .title span {
                font-size: 50px; } }
            @media screen and (max-width: 440px) {
              .topBox2 .reason_in .inner .txBox .title span {
                font-size: 40px; } }
          .topBox2 .reason_in .inner .txBox .title h3 {
            font-size: 32px;
            padding: 0px 0 20px 20px;
            position: relative;
            letter-spacing: 0.12em;
            z-index: 1; }
            @media screen and (max-width: 520px) {
              .topBox2 .reason_in .inner .txBox .title h3 {
                font-size: 24px; } }
            @media screen and (max-width: 440px) {
              .topBox2 .reason_in .inner .txBox .title h3 {
                font-size: 20px; } }
        .topBox2 .reason_in .inner .txBox p {
          font-size: 16px;
          line-height: 30px; }
          @media screen and (max-width: 440px) {
            .topBox2 .reason_in .inner .txBox p {
              font-size: 15px;
              line-height: 26px; } }
    .topBox2 .reason_in .back {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-between;
      z-index: 0; }
      @media screen and (max-width: 767px) {
        .topBox2 .reason_in .back {
          flex-wrap: wrap;
          position: relative;
          top: auto;
          left: auto; } }
      @media screen and (max-width: 520px) {
        .topBox2 .reason_in .back {
          height: 220px;
          overflow: hidden; } }
      .topBox2 .reason_in .back .lBox {
        width: 50%; }
        @media screen and (max-width: 767px) {
          .topBox2 .reason_in .back .lBox {
            width: 0; } }
      .topBox2 .reason_in .back .rBox {
        width: 50%;
        position: relative; }
        @media screen and (max-width: 767px) {
          .topBox2 .reason_in .back .rBox {
            width: 100%; } }
        @media screen and (max-width: 1350px) {
          .topBox2 .reason_in .back .rBox img {
            object-fit: cover;
            width: 100%;
            height: 100%; } }

.topBox3 {
  background: url("../images/top/top7.webp") no-repeat center;
  background-size: cover;
  width: 100%;
  padding: 100px 0; }
  @media screen and (max-width: 840px) {
    .topBox3 {
      padding: 60px 20px; } }
  @media screen and (max-width: 520px) {
    .topBox3 {
      padding: 20px; } }
  .topBox3 .inner {
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 50px 80px; }
    @media screen and (max-width: 520px) {
      .topBox3 .inner {
        padding: 25px 15px; } }
    .topBox3 .inner p {
      font-size: 20px;
      line-height: 36px;
      letter-spacing: 0.12em;
      padding: 0 0 1em; }
      @media screen and (max-width: 520px) {
        .topBox3 .inner p {
          font-size: 15px;
          line-height: 22px; } }
    .topBox3 .inner .button {
      text-align: center;
      padding: 20px 0 0 0; }
      .topBox3 .inner .button a {
        display: inline-block;
        width: 400px;
        color: #FFF;
        font-size: 20px;
        font-weight: 700;
        border-radius: 30px;
        padding: 10px;
        border: none;
        background: linear-gradient(91deg, #ff3d24 0%, #f28e26 100%); }
        @media screen and (max-width: 520px) {
          .topBox3 .inner .button a {
            width: 80%;
            font-size: 16px; } }

.topBox4 {
  background-color: #f5f9ff;
  padding: 100px 0 50px; }
  @media screen and (max-width: 520px) {
    .topBox4 {
      padding: 40px 0 0px; } }
  .topBox4 .inner p {
    line-height: 30px; }
  .topBox4 .inner .flexBox {
    padding: 50px 0 0 0;
    gap: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; }
    @media screen and (max-width: 860px) {
      .topBox4 .inner .flexBox {
        justify-content: center;
        gap: 10px 4%; } }
    @media screen and (max-width: 620px) {
      .topBox4 .inner .flexBox {
        gap: 10px 0; } }
    .topBox4 .inner .flexBox .inBox {
      flex: 1;
      border: 2px solid #124193;
      border-radius: 10px;
      padding: 20px 10px;
      background-color: #FFF;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0 10px; }
      @media screen and (max-width: 860px) {
        .topBox4 .inner .flexBox .inBox {
          flex: none;
          width: 48%; } }
      @media screen and (max-width: 620px) {
        .topBox4 .inner .flexBox .inBox {
          width: 100%; } }
      .topBox4 .inner .flexBox .inBox p {
        font-size: 20px;
        line-height: 36px;
        color: #124193;
        text-align: center; }
        @media screen and (max-width: 1050px) {
          .topBox4 .inner .flexBox .inBox p {
            font-size: 16px;
            letter-spacing: 0; } }
  .topBox4 .inner .btn a {
    max-width: 300px;
    border-radius: 50px;
    background-image: none;
    background-color: #124193; }

.topBox5 {
  padding: 100px 0; }
  @media screen and (max-width: 520px) {
    .topBox5 {
      padding: 40px 0; } }
  .topBox5 .inner .flexBox {
    gap: 0 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 100px 0; }
    @media screen and (max-width: 1160px) {
      .topBox5 .inner .flexBox {
        gap: 0 120px;
        justify-content: center; } }
    @media screen and (max-width: 700px) {
      .topBox5 .inner .flexBox {
        gap: 0px 120px; } }
    @media screen and (max-width: 650px) {
      .topBox5 .inner .flexBox {
        transform: scale(0.8);
        padding: 0; } }
    @media screen and (max-width: 620px) {
      .topBox5 .inner .flexBox {
        transform: scale(1);
        gap: 30px 0;
        padding: 0 0 30px; } }
    .topBox5 .inner .flexBox .inBox {
      width: 240px;
      height: 240px;
      position: relative; }
      @media screen and (max-width: 1160px) {
        .topBox5 .inner .flexBox .inBox {
          width: 220px;
          height: 220px; } }
      @media screen and (max-width: 620px) {
        .topBox5 .inner .flexBox .inBox {
          width: 100%;
          height: auto;
          padding: 20px 0; } }
      .topBox5 .inner .flexBox .inBox:after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        border: 2px solid #bad4fc;
        border-radius: 20px;
        background-color: #FFF;
        -webkit-transform: translate(-50%, -50%) rotate(-45deg);
        -moz-transform: translate(-50%, -50%) rotate(-45deg);
        -ms-transform: translate(-50%, -50%) rotate(-45deg);
        -o-transform: translate(-50%, -50%) rotate(-45deg);
        transform: translate(-50%, -50%) rotate(-45deg);
        box-shadow: 15px 15px 0 #bad4fc;
        z-index: 0; }
        @media screen and (max-width: 620px) {
          .topBox5 .inner .flexBox .inBox:after {
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%); } }
        @media screen and (max-width: 520px) {
          .topBox5 .inner .flexBox .inBox:after {
            box-shadow: 5px 5px 0 #bad4fc; } }
      .topBox5 .inner .flexBox .inBox:before {
        content: "";
        position: absolute;
        top: 50%;
        right: -60px;
        -webkit-transform: translate(0%, -50%);
        -moz-transform: translate(0%, -50%);
        -ms-transform: translate(0%, -50%);
        -o-transform: translate(0%, -50%);
        transform: translate(0%, -50%);
        width: 60px;
        height: 60px;
        background: url("../images/top/flow_arrow1.webp") no-repeat center;
        background-size: 100%;
        z-index: 1; }
        @media screen and (max-width: 1160px) {
          .topBox5 .inner .flexBox .inBox:before {
            width: 50px;
            height: 50px; } }
        @media screen and (max-width: 620px) {
          .topBox5 .inner .flexBox .inBox:before {
            display: none; } }
      .topBox5 .inner .flexBox .inBox .in {
        position: relative;
        z-index: 2;
        width: 240px;
        height: 100%;
        text-align: center;
        margin: 0 auto; }
        @media screen and (max-width: 1160px) {
          .topBox5 .inner .flexBox .inBox .in {
            width: 220px; } }
        @media screen and (max-width: 620px) {
          .topBox5 .inner .flexBox .inBox .in {
            width: 90%; } }
        .topBox5 .inner .flexBox .inBox .in .num {
          font-size: 60px;
          color: #bad4fc;
          line-height: 100%; }
          @media screen and (max-width: 620px) {
            .topBox5 .inner .flexBox .inBox .in .num {
              font-size: 40px; } }
        .topBox5 .inner .flexBox .inBox .in .tx1 {
          font-size: 20px;
          font-weight: 700;
          padding: 10px 0 20px; }
          @media screen and (max-width: 620px) {
            .topBox5 .inner .flexBox .inBox .in .tx1 br {
              display: none; } }
        .topBox5 .inner .flexBox .inBox .in .tx2 {
          font-size: 16px;
          line-height: 30px;
          letter-spacing: 0; }
          @media screen and (max-width: 1160px) {
            .topBox5 .inner .flexBox .inBox .in .tx2 {
              font-size: 14px;
              line-height: 160%; } }
          @media screen and (max-width: 620px) {
            .topBox5 .inner .flexBox .inBox .in .tx2 {
              text-align: left; } }
          @media screen and (max-width: 620px) {
            .topBox5 .inner .flexBox .inBox .in .tx2 br {
              display: none; } }
      .topBox5 .inner .flexBox .inBox:nth-child(2):after {
        border-color: #6d8bc5;
        box-shadow: 15px 15px 0 #6d8bc5; }
        @media screen and (max-width: 520px) {
          .topBox5 .inner .flexBox .inBox:nth-child(2):after {
            box-shadow: 5px 5px 0 #6d8bc5; } }
      .topBox5 .inner .flexBox .inBox:nth-child(2):before {
        background: url("../images/top/flow_arrow2.webp") no-repeat center;
        background-size: 100%; }
      .topBox5 .inner .flexBox .inBox:nth-child(2) .in p.num {
        color: #6d8bc5; }
      .topBox5 .inner .flexBox .inBox:nth-child(3):after {
        border-color: #21438f;
        box-shadow: 15px 15px 0 #21438f; }
        @media screen and (max-width: 520px) {
          .topBox5 .inner .flexBox .inBox:nth-child(3):after {
            box-shadow: 5px 5px 0 #21438f; } }
      .topBox5 .inner .flexBox .inBox:nth-child(3):before {
        display: none; }
      .topBox5 .inner .flexBox .inBox:nth-child(3) .in p.num {
        color: #21438f; }
  .topBox5 .inner .button {
    text-align: center;
    padding: 20px 0 0 0; }
    .topBox5 .inner .button a {
      display: inline-block;
      width: 400px;
      color: #FFF;
      font-size: 20px;
      font-weight: 700;
      border-radius: 30px;
      padding: 10px;
      border: none;
      background: linear-gradient(91deg, #ff3d24 0%, #f28e26 100%); }
      @media screen and (max-width: 520px) {
        .topBox5 .inner .button a {
          width: 80%;
          font-size: 16px; } }

.top_blog {
  background-color: #d2e4ff;
  padding: 100px 0 100px 0; }
  @media screen and (max-width: 520px) {
    .top_blog {
      padding: 35px 0 35px; } }
  .top_blog .inner {
    max-width: 1080px; }
  .top_blog .blog_inner {
    max-width: 1150px;
    margin: 0 auto; }
    @media screen and (max-width: 1190px) {
      .top_blog .blog_inner {
        padding: 0 20px; } }
    .top_blog .blog_inner .inBox {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 0 1%;
      padding: 0 0 50px; }
      @media screen and (max-width: 767px) {
        .top_blog .blog_inner .inBox {
          gap: 10px 2%; } }
      @media screen and (max-width: 520px) {
        .top_blog .blog_inner .inBox {
          padding: 0 0 25px; } }
      .top_blog .blog_inner .inBox .in {
        width: 24%;
        background-color: #FFF;
        overflow: hidden; }
        @media screen and (max-width: 767px) {
          .top_blog .blog_inner .inBox .in {
            width: 48%; } }
        @media screen and (max-width: 520px) {
          .top_blog .blog_inner .inBox .in {
            width: 100%; } }
        .top_blog .blog_inner .inBox .in a {
          display: block; }
          .top_blog .blog_inner .inBox .in a:hover .imgBox img {
            -webkit-transition: 0.3s ease-in-out;
            -moz-transition: 0.3s ease-in-out;
            -ms-transition: 0.3s ease-in-out;
            -o-transition: 0.3s ease-in-out;
            transition: 0.3s ease-in-out;
            width: 105%;
            height: 105%; }
          .top_blog .blog_inner .inBox .in a .imgBox {
            position: relative;
            width: 100%;
            height: 140px;
            overflow: hidden; }
            @media screen and (max-width: 700px) {
              .top_blog .blog_inner .inBox .in a .imgBox {
                height: 120px; } }
            @media screen and (max-width: 520px) {
              .top_blog .blog_inner .inBox .in a .imgBox {
                height: 140px; } }
            .top_blog .blog_inner .inBox .in a .imgBox img {
              -webkit-transition: 0.3s ease-in-out;
              -moz-transition: 0.3s ease-in-out;
              -ms-transition: 0.3s ease-in-out;
              -o-transition: 0.3s ease-in-out;
              transition: 0.3s ease-in-out;
              position: absolute;
              top: 50%;
              left: 50%;
              -webkit-transform: translate(-50%, -50%);
              -moz-transform: translate(-50%, -50%);
              -ms-transform: translate(-50%, -50%);
              -o-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
              max-width: none;
              width: 100%;
              height: 100%;
              object-fit: cover; }
          .top_blog .blog_inner .inBox .in a .txBox {
            padding: 10px 10px 20px; }
            .top_blog .blog_inner .inBox .in a .txBox .time {
              font-size: 12px;
              padding: 0 0 10px; }
            .top_blog .blog_inner .inBox .in a .txBox .tx {
              font-weight: 700;
              line-height: 30px;
              letter-spacing: 0.12em; }
    .top_blog .blog_inner .button {
      display: flex;
      justify-content: center;
      align-items: center; }
      .top_blog .blog_inner .button a {
        background-color: #20428e;
        border-radius: 50px;
        width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        font-size: 16px;
        color: #FFF;
        text-align: center; }
        .top_blog .blog_inner .button a:hover {
          opacity: 1;
          background-color: #4166b7; }

.top_news {
  padding: 100px 0 0 0; }
  @media screen and (max-width: 520px) {
    .top_news {
      padding: 50px 0 0; } }
  .top_news .inner {
    max-width: 1080px; }
    .top_news .inner h2 {
      text-align: center;
      font-size: 30px;
      padding: 0 0 50px; }
    .top_news .inner .inBox {
      border: 1px solid #bababa;
      padding: 30px 40px; }
      .top_news .inner .inBox .in a {
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0 30px;
        padding: 3px 0; }
        @media screen and (max-width: 520px) {
          .top_news .inner .inBox .in a {
            padding: 7px 0; } }
        .top_news .inner .inBox .in a .time {
          font-size: 12px; }
          @media screen and (max-width: 520px) {
            .top_news .inner .inBox .in a .time {
              width: 100%;
              padding: 0 0 3px; } }
        .top_news .inner .inBox .in a .tx {
          font-weight: 700; }
          @media screen and (max-width: 520px) {
            .top_news .inner .inBox .in a .tx {
              width: 100%; } }

@media screen and (max-width: 767px) {
  .mainBox .main {
    background-image: url("../images/top/main_sp.webp");
  }
}
