@charset "UTF-8";
/*===============================================
画面の横幅が1000px〜768pxまで
===============================================*/
@media screen and (max-width: 1024px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
  body.fixed {
    position: absolute;
    overflow: hidden;
    z-index: 0;
  }
  body.fixed:before {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(17, 52, 101, 0.5);
    z-index: 1;
  }
  header {
    padding: 17px 0 0 20px;
    margin-bottom: 17px;
  }
  header .globalMenuSp a.contactLink {
    background: #fff;
    color: #113465;
    padding: 20px;
  }
  header h1 img {
    max-width: 100%;
    height: auto;
  }
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #113465;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transitio: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2), .hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    transform: rotate(45deg);
  }
  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100dvh;
    transform: translateX(100%);
    transition: all 0.6s;
    background-image: linear-gradient(90deg, rgb(43, 76, 121), rgb(17, 52, 101));
  }
  nav.globalMenuSp ul {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 70px;
  }
  nav.globalMenuSp li {
    padding: 20px;
  }
  nav.globalMenuSp li:not(:last-child) {
    margin-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  nav.globalMenuSp li a {
    color: #fff;
    text-decoration: none;
  }
  nav.globalMenuSp.active {
    opacity: 100;
    display: block;
    transform: translateX(0%);
  }
  .mvWrap .side {
    width: 70px;
  }
  .mvWrap .visual {
    width: calc(100% - 70px - 20px);
  }
  .mvWrap .visual span {
    font-size: 4rem;
  }
  .pankuzu .inner {
    width: 100%;
    padding: 15px 20px 0 20px;
  }
  section .inner, section .innerS {
    width: 85%;
  }
  section h3 span {
    font-size: 5.5rem;
  }
  ul.def.btnList li {
    width: 70%;
    margin-bottom: 20px;
  }
  ul.def.btnList li:not(:nth-child(even)) {
    margin-right: 0;
  }
  ul.def.btnList a {
    padding: 35px;
  }
  #philosophy ul.def {
    width: 100%;
  }
  #contactForm {
    padding-right: 2%;
    padding-left: 2%;
  }
  #contactForm .inner {
    width: 100%;
    padding: 40px 30px;
  }
  #contactForm .inner p {
    text-align: left;
  }
  .formWrap input[type=tel] {
    width: 100%;
  }
  footer {
    flex-direction: column-reverse;
  }
  footer h1 img {
    max-width: 100%;
    height: auto;
  }
  footer .txt, footer .map {
    width: 100%;
  }
  footer .txt .btnWrap {
    justify-content: flex-end;
    margin-bottom: 15px;
  }
  footer .txt > p {
    text-align: right;
  }
  footer .map {
    padding: 20px 20px 0 20px;
  }
}
/*===============================================
tablet横向き
===============================================*/
/*===============================================
画面の横幅が767px〜0pxまで
===============================================*/
@media screen and (max-width: 767px) {
  header {
    padding: 20px 0 0 20px;
  }
  body {
    -webkit-text-size-adjust: 100%;
  }
  nav.globalMenuSp {
    top: 0;
    left: 30%;
    width: 70%;
    height: 100dvh;
    transform: translateX(100%);
  }
  nav.globalMenuSp.active {
    transform: translateX(0%);
  }
  .mvWrap {
    height: 490px;
  }
  .mvWrap .side {
    width: 40px;
  }
  .mvWrap .visual {
    width: calc(100% - 40px - 10px);
    padding: 40px 20px 115px 20px;
  }
  .mvWrap .visual span {
    font-size: 1.7rem;
  }
  .pageTtl {
    height: 200px;
  }
  .pageTtl .side {
    width: 40px;
  }
  .pageTtl .visual {
    width: calc(100% - 40px - 10px);
    align-items: center;
    justify-content: flex-start;
    padding: 20px 30px;
    font-size: 2.5rem;
  }
  section .inner, section .innerS {
    width: 90%;
    margin: 0 auto;
  }
  .btnWrap a {
    margin-bottom: 20px;
  }
  ul.btnList:not(:last-child) {
    margin-bottom: 20px;
  }
  ul.btnList li {
    width: 100%;
    margin-bottom: 10px;
  }
  ul.btnList li:last-child {
    margin-bottom: 0;
  }
  ul.btnList a {
    padding: 25px;
  }
  ul.btnList a span {
    width: 16px;
    margin-right: 10px;
  }
  section h3 span {
    font-size: 4rem;
  }
  dl {
    display: block;
  }
  dl dt, dl dd {
    width: 100%;
  }
  dl dt {
    display: block;
    margin-bottom: 0 !important;
    padding: 15px;
  }
  dl dd {
    padding: 20px 20px 25px 20px;
  }
  #philosophy ul {
    width: 100%;
  }
}
/*===============================================
sp横向き
===============================================*/