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

html {
    font-size: 62.5%;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    line-height: 1.8;
    text-rendering: optimizeSpeed;
    height: 100vh;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}

a {
    text-decoration: none;
    transition: all .3s;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}
a:hover {
    opacity: 0.7;
}

img,
picture {
    max-width: 100%;
    width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #1a1a1a;
}
ul {
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
    justify-content: space-between;
}
.center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*header*/
header {
    width: auto;
    background: #24282c;
    padding: 2rem 4rem 1rem;
}
.logo {
  height: 4rem;
}

#header .main-nav > ul.nav-gnav {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  #header .main-nav > ul > li.message a {
    color: #fff;
  }
  #header .main-nav > ul > li.message {
    text-align: center;
  }
  #header .main-nav > ul > li.message2 a {
    color: #333;
  }
  #header .main-nav > ul > li.message a:after {
    content: none
  }
  #header .main-nav > ul > li a {
    border-bottom: none;
  }
  @media screen and (max-width: 999px) {}
  .section {
    overflow-x: hidden;
  }
  #header .main-nav > ul > li .wrap .mega-menu li span {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
  }
  #header .main-nav > ul > li .wrap .mega-menu li span a {
    display: block;
  }

@media (min-width: 769px) {
    #header .main-nav > ul > li .wrap a {
        color: #FFF
    }
}
@media (min-width: 841px) {
    #header.container {
      width: 100%;
      max-width: 100%;
    }
      .header-inner{
        max-width: 1110px;
          margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 44px 15px;
      box-shadow: 0px 10px 20px rgb(0 0 0 / 4%);
          border-radius: 4px;
      }    
    .lvl-1 .sub {
      display: none;
    }
    #header .main-nav > ul > li > a {
      padding-left: 20px;
      padding-right: 20px;
      background: url("../img/arrow.svg") no-repeat right center
    }
    #header .main-nav > ul > li {
      margin-right: 0
    }
    .message {
      margin-left: 20px;
    }
    .message1 {
      margin-left: 10px;
    }
    #header .main-nav > ul > li.message a {
      align-content: center;
      align-items: center;
      background: #1a1a1a;
      border-radius: 5px;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      padding: 12px 32px 12px;
      font-size: 14px;
      border: 1px solid #1a1a1a
    }
    #header .main-nav > ul > li.message2 a {
      background: #fff;
    }
  }
  @media screen and (min-width:769px) and (max-width:999px) {
    #header.container {
      display: block;
    }
   /* .top-header {
      position: absolute;
    }*/
    .main-nav {
      width: 100%;
    }
  }
  @media only screen and (min-width: 769px) and (max-width: 1280px) {
    #header .main-nav > ul > li a {
      font-size: 14px;
      font-size: 1.4rem;
    }
    #header .main-nav > ul > li > a {
      padding-left: 15px;
      padding-right: 13px;
    }
  }
  .heading-top {
    height: 720px;
    background: url("../img/head_h2.jpg") center;
    background-size: cover;
    text-align: center;
    transition: .3s cubic-bezier(.4, .4, 0, 1);
  }
  .heading-top-inner {
    background: rgba(0, 9, 30, 0.2);
    width: 100%;
    height: 100%;
    height: 720px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .heading-top .ttl {
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 96px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }
  .heading-top .ttl span {
    display: block;
  }
  .heading-top .ttl small {
    display: block;
    color: #FFFFFF;
    font-family: 'Noto Sans JP';
    font-size: 36px;
    font-weight: 900;
    height: auto;
    letter-spacing: 0.36em;
  }
  @media screen and (max-width: 768px) {
  .heading-top .ttl small {
    font-size: 28px!important;
  }
      
  .heading-top {
   max-height: 100vh;
  }
      .heading-top-inner {
   max-height: 100vh;
  }
      .heading-top .ttl {
      font-size: 70px;
  }
  }
  #header h1.logo {
      padding: 0;
  }

  @media (max-width:768px) {
    .mb100 {
      margin-bottom: 50px
    }
    .section {
      padding: 35px 0 40px
    }
  }
  #header {
    position: relative
  }
  #header .logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #header .top-header .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
  }
  @media screen and (max-width:840px) {
    #header .logo {
      margin-top: 0
    }
    #header .top-header {
      padding: 42px 0;
    }
    #header .top-header .logo {
      margin-left: 10px
    }
  
    #header .top-header .header-tools {
      display: none
    }
  }
  #header .top-header .header-tools {
    position: relative;
    top: -10px
  }
  #header .header-tools {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 234px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
  }
  #header .header-tools .nav-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
  }
  #header .header-tools .nav-top li a {
    display: inline-block;
    margin-right: 20px;
    color: #333;
    font-size: 13px;
    font-size: 1.3rem
  }
  #header .message a {
    font-weight: 700;
    position: relative;
    padding: 14px 20px;
    color: #fff;
    background-color: #1a1a1a;
    font-size: 16px;
    font-size: 1.6rem
  }
  @media screen and (min-width:841px) {
    #header .main-nav {
      display: flex !important;
      justify-content: space-between;  
    }
  }/*
  @media screen and (max-width:1350px) {
    #header .main-nav {
      flex-direction: column-reverse
    }
  .nav-btn{   
      margin-bottom: 15px;
      }    
  }*/
  #header .main-nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
      align-items: center;
  }
  #header .main-nav > ul > li {
    display: inline-block;
    margin-right: 35px
  }
  #header .main-nav > ul > li:last-of-type, #header .main-nav > ul > li:nth-last-of-type(-n+2) {
    margin-right: 0
  }
  @media screen and (min-width:841px) {
    #header .main-nav > ul > li:hover > a {
      border-bottom-color: #1a1a1a;
      -webkit-transition: all .3s ease;
      -o-transition: all .3s ease;
      transition: all .3s ease;
      -webkit-backface-visibility: hidden
    }
  }
  #header .main-nav > ul > li a {
    font-weight: 700;
    display: inline-block;
    color: #333;
    border-bottom: 4px solid transparent;
    font-size: 16px;
    font-size: 1.6rem
  }
  @media screen and (max-width:840px)  {
    #header .main-nav > ul > li.has-sub.active .sub:after {
      content: '';
      background: url(../img/ico_down.png);
      background-size: cover
    }
  }
  @media screen and (max-width:840px) {
    #header .main-nav > ul > li.has-sub.active > a {
      border-bottom: 1px solid #e6e6e6
    }
    #header .main-nav > ul > li.has-sub .sub {
      position: absolute;
      top: 0;
      right: 0;
      width: 45px;
      height: 50px
    }
    #header .main-nav > ul > li.has-sub .sub:after {
      content: "";
      position: absolute;
      display: inline-block;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      width: 15px;
      height: 15px;
      background: url(../img/ico_up.png) no-repeat;
      background-size: cover
    }
  }
  @media screen and (min-width:840px) {
    #header .main-nav > ul > li:hover .wrap {
      display: inline-block;
      width: 100%;
      visibility: visible;
      opacity: 1
    }
  }
  @media (min-width:841px) {
    #header .main-nav > ul > li .wrap {
      position: absolute;
      z-index: 9999 !important;
      top: 100%;
      right: 0;
      left: 0;
      display: block;
      visibility: hidden;
      overflow: inherit;
      clip: inherit;
      width: 100%;
      max-width: 100%;
      margin: auto;
      padding: 30px 0;
      opacity: .95;
      background-color: rgba(51, 51, 51, .95)
    }
    #header .main-nav > ul > li .wrap .mega-menu {
      display: block;
      max-width: 1160px;
      margin: 0 auto;
      text-align: center
    }
    #header .main-nav > ul > li .wrap .mega-menu li {
      float: left;
      width: 31%;
      margin-right: 3.5%;
      border-right: 1px solid rgba(255,255,255,0.3)
    }
    #header .main-nav > ul > li .wrap .mega-menu li:nth-child(3n) {
      margin-right: 0;
      border-right: none
    }
    #header .main-nav > ul > li .wrap .mega-menu li span {
      display: inline-block;
      width: 100%;
      text-align: center;
      color: #FFF;
      font-size: 15px;
      font-size: 1.5rem
    }
  
    #header .main-nav > ul > li .wrap .mega-menu li span:hover a {
      color: #fff
    }
  
  }
  @media (max-width:840px) {
    #header .main-nav > ul > li .wrap {
      display: none;
      padding-left: 40px
    }
    #header .main-nav > ul > li .wrap.show {
      display: block
    }
    #header .main-nav > ul > li .wrap .mega-menu li {
      border-bottom: 1px solid #e6e6e6
    }
    #header .main-nav > ul > li .wrap .mega-menu li:last-child {
      border-bottom: none
    }
    #header .main-nav > ul > li .wrap .mega-menu li a:after {
      border: none
    }
    #header .main-nav > ul > li .wrap .mega-menu li a:hover {
      color: #333 !important;
      background: #fff
    }
  }
  #header .main-nav > ul > li .message a {
    display: block;
    position: relative;
    margin-bottom: -1px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background-color: #1a1a1a
  }
  #footer .left-panel .col .sitemap li a, #footer .left-panel .col .ttl a, #footer .left-panel .list-link li a .col .sitemap li a, #footer .left-panel .col .ttl a, #footer .left-panel .list-link li a {
    color: #333
  }
  #header .main-nav > ul > li .message a:after {
    display: none
  }
  #header .main-nav > ul .social-sp {
    display: block
  }
  @media screen and (max-width:840px) {
    #header .main-nav > ul > li, #header .main-nav > ul > li a.active {
      border-bottom: 1px solid #e6e6e6
    }
    #header .main-nav {
      display: none;
      padding: 15px 0 0;
      background-color: #f8f6f6
    }
    #header .main-nav > ul {
      display: block
    }
    #header .main-nav > ul > li {
      display: block;
      margin-right: 0;
      position: relative
    }
    #header .main-nav > ul > li a {
      position: relative;
      display: block;
      padding: 15px;
      font-size: 13px;
      font-size: 1.3rem
    }
    #header .main-nav > ul > li a:after {
      position: absolute;
      top: 50%;
      right: 15px;
      display: block;
      width: 10px;
      height: 15px;
      content: '';
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      background: url(../img/ico_arow_right.png);
      background-size: cover
    }
    #header .main-nav > ul > li.has-sub > a:after {
      display: none
    }
    #header .main-nav .header-tools {
      display: block
    }
    #header .main-nav .header-tools .lang-switcher {
      margin: 15px 0;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center
    }
    #header .main-nav .header-tools .contact {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      margin-bottom: 15px;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center
    }
  }
  #header .main-nav .header-tools, #menu-sp-btn {
    display: none
  }
  
  
/*dl_info*/
.dl_info {
    width: 56%;
}
.dl_info .flex {
  align-items: center;
}
.main_text {
  margin: 4rem 0 4rem 2rem;
  min-width: 30rem;
}
.main_text h1 {
  color: #1a1a1a;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: left;
  width: auto;
  padding: 3rem 0;
}
.main_text h2 {
  color: #1a1a1a;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0px 0px 0px 0px;
}
.main_img {
  margin: auto;
}
.gray {
    background: #efefef;
    border-radius: 20px;
    padding: 2rem 4rem 3rem 5rem;
    margin-bottom: 4rem;
}
h1 {
    padding: 2rem 0;
}
h2 {
    padding-bottom: 2rem;
    font-size: 2.2rem;
}
h3 {
    font-size: 1.8rem;
    margin-right: -2rem;
}
p {
    white-space: pre-line;
}
.dl_from p {
    padding: 2rem;
}
.personal p {
    font-size: 1.2rem;
    height: 10rem;
    padding: 0.2rem 1rem;
    overflow: scroll;
}

/*form*/
.form {
    margin: 4rem 0;
    padding: 2rem;
    width: 40%;
    background: #efefef;
    border-radius: 4px;
}
.form_title {
    background: #24282c;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 1rem 2rem;
    border-radius: 5px;
    width: 100%;

}
.form_title_2 {
    font-size: 2.6rem;
    display: flex;
    justify-content: flex-start;
}
.form_title_2 img {
    display: inline;
    width: 5rem;
    height: 5rem;
    margin-right: 1rem;
}

.personal {
    margin-top: 1rem;
    background: #fff;
    font-size: 1.4rem;
    border-radius: 5px;
}
table {
    width: 100%;
}
th ,td {
    display: block;
}
th{
    font-weight: 700;
    margin-top: 2rem;
    text-align: left;
}
th span {
    display: inline-block;
    font-size: 1.2rem;
    background: #999;
    color: #fff;
    padding: 0 .4rem;
    margin: auto .6rem;
    border-radius: 2px;
}
.box {
    border-radius: 4px;
}
.checkbox {
    justify-content: start;
}
.checkbox .box {
    width: 2.6rem;
    height: 2.6rem;
    margin: auto 1rem auto 0;
}
input, select, textarea {
    border: none;
    width: 100%;
    height: 3.6rem;
    border-radius: 4px;
    padding: .6rem;
}
input[type='checkbox'] {
  -webkit-appearance: none;
    appearance: none;
    outline: none;
    display: block;
    position: relative;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
}
input[type='checkbox']::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: #fff;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 4px;
}
input[type='checkbox']:checked::before {
    background-color: #1474ff;
}
input[type='checkbox']::after {
    display: block;
    content: '';
    position: absolute;
    left: .9rem;
    top: .4rem;
    width: .8rem;
    height: 1.6rem;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}
input[type='checkbox']:checked::after {
    opacity: 1;
}
.btn {
    display: block;
    width: 80%;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    background: #1a1a1a;
    border-radius: 4px;
    padding: 1rem 2rem;
    margin: 2rem auto;
    text-align: center;
}
.error {
    color: #d10e00;
    font-size: 1.2rem;
}

/*footer*/

#footer ul li {
    list-style: none;
}

#footer .left-panel .col .sitemap li a, #footer .left-panel .col .ttl a, #footer .left-panel .list-link li a .col .sitemap li a, #footer .left-panel .col .ttl a, #footer .left-panel .list-link li a {
    color: #333
}

#footer {
position: relative
}
#footer .top-footer {
display: block;
padding: 20px 0;
background: linear-gradient(90deg, #626262, #1f1f1f);
}
#footer .top-footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#footer .foot-sitemap li{
    font-family: Roboto;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    height: auto;
    letter-spacing: 0.05em;
}
#footer .foot-sitemap li a{
    padding-right: 15px;
    background: url("../img/arrow3.svg") no-repeat right center;
    margin-right: 30px;
}



@media (max-width:768px) {
    #footer .top-footer .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .logo-footer {
        text-align: center;
        margin-bottom: 30px;
    }
    #footer .top-footer {
        padding: 40px 0
    }

    #footer .left-panel {
    width: 25%
    }
    #footer .right-panel {
    width: 75%;
    }
    #footer .left-panel {
        width: 100%;
    }
    #footer .right-panel {
    width: 100%
    }    
}
/*contact seminar*/

#contact, #confirm {
    width: 60%;
    margin: 4rem auto;
}
#contact .form, #confirm .form {
    width: 100%;
}
.contact_btn {
    width: 26rem;
    margin: 2rem 0 4rem;
    font-size: 1.6rem;
}
textarea {
    height: 10rem;
}
#seminar .form {
    width: 60%;
    margin: 2rem auto 4rem;
}
#seminar .personal {
    margin: 0;
}
#seminar h1 {
    padding-top: 4rem;
}
#seminar .center {
    width: 70%;
    margin: auto;
}
.return_btn {
    background: #fff;
    color: #24282c;
}
.return_btn, .next_btn {
    width: 40%;
}

#confirm .btn {
    margin-top: 4rem;
}
#confirm table th {
    margin: 0;
}
#confirm table td {
    padding: 1rem 1rem 2rem;
    border-top: #ccc 1px solid;
    border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media screen and (max-width: 1023px) {
    .dl_form .flex {
        display: block;
    }
    .main_text {
      min-width: auto;
      margin: auto;
      text-align: center;
    }
    .main_text h1 {
      text-align: center;
      padding-top: 4rem;
    }
    .main_text h2 {
      padding: 0;
    }
    .dl_info, .form {
        width: 100%;
    }
    .form {
        margin: 4rem auto;
    }
    #contact, #confirm, #contact .form ,#seminar .form, #seminar .center, #confirm .form {
        width: 100%;
    }
    #confirm .btns {
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    header {
        padding: 2rem 2rem 1rem;
    }
    .gray {
        padding: 2rem 3rem 2em 4rem;
    }
    .form {
        padding: 1rem;
    }
    .btn {
        width: 90%;
    }
    .contact_btn {
        margin: 2rem auto 4rem;
    }
    footer.flex {
        display: block;
    }
    .link {
        margin-top: 2rem;
    }
    .link a {
        display: block;
        margin: 0;
    }
    .list_p {
        display: block;
        margin: 4rem auto 0;
        text-align: center;
    }
    .return_btn, .next_btn {
        width: 45%;
    }
    
}