@charset "utf-8";
/* CSS Document */
/* mikan 2.0*/

body {
  position: relative;
  z-index: 0;
  font-family: "Poppins", "Noto Sans JP", sans-serif;

  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  /* font-feature-settings: "palt"; */
  color: #0a0a0a;
  background: #fff;
}

body.menu_open {
  position: fixed;
  width: 100%;
  height: 100vh;
}

main {
  overflow: hidden;
}

.en {
  font-family: "Poppins", sans-serif;
}

/*ヘッダー */
.block_header {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background: #fff;
}

.block_header .inner {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1024px;
  margin: 0 auto;
}

.block_header .logo {
  display: block;
  width: 300px;
}

@media screen and (max-width: 1320px) {
  .block_header {
    padding: 16px 2%;
  }
}

@media screen and (max-width: 768px) {
  .block_header {
    padding: calc(20 / 390 * 100vw);
  }

  .block_header .inner {
    width: 100%;
  }

  .block_header .logo {
    width: min(calc(245 / 390 * 100vw), 245px);
  }
}

/*ヘッダーメニュー ------------------------------*/
.block_header {
  .box_tel {
    width: 300px;
    aspect-ratio: 300 / 60;
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 5px;
    background: var(--color01);
    font-weight: 500;
    font-size: 14px;
    line-height: calc(16.8 / 14);
    text-align: center;
    color: #fff;
    margin: 0 0 20px auto;
  }

  .box_tel::before {
    content: "";
    background-image: url("../img/common/icon_phone01.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    width: 18px;
    aspect-ratio: 1;
  }

  .box_tel .en {
    font-size: 20px;
    margin: 0 17px 0 5px;
  }

  @media screen and (max-width: 768px) {
    .box_tel {
      display: none;
    }
  }

  .box_menu {
    font-weight: bold;
    font-size: 16px;
    line-height: calc(27 / 18);
    text-align: left;
    color: #0a0a0a;
  }

  .box_menu ul {
    display: flex;
    align-items: center;
    gap: 0 22px;
  }

  .box_menu ul li {
    .en {
      display: none;
    }
  }

  .box_menu ul li a {
    display: block;
  }

  .box_menu .btn_menu {
    background-color: #339fcb;
    position: relative;
    z-index: 9999;
    display: none;
    /*   width:64px;
    aspect-ratio: 1;*/
    cursor: pointer;
    transition: all 0.5s;
    box-sizing: border-box;
    width: min(calc(50 / 390 * 100vw), 50px);
    height: min(calc(50 / 390 * 100vw), 50px);
    border-radius: min(calc(5 / 390 * 100vw), 5px);
  }

  .box_menu .btn_menu span {
    position: absolute;
    left: min(calc(15 / 390 * 100vw), 15px);
    width: 40%;
    height: 1px;
    background-color: #fff;
    display: inline-block;
    transition: all 0.5s;
    box-sizing: border-box;
  }

  .btn_menu span:nth-of-type(1) {
    top: min(calc(15 / 390 * 100vw), 15px);
  }

  .btn_menu span:nth-of-type(2) {
    top: min(calc(24 / 390 * 100vw), 24px);
  }

  .btn_menu span:nth-of-type(3) {
    top: min(calc(33 / 390 * 100vw), 33px);
  }

  .btn_menu span:nth-of-type(1) {
    animation: btn07-bar01 0.3s forwards;
  }

  .btn_menu span:nth-of-type(2) {
    transition: all 0.1s 0.1s;
    opacity: 1;
  }

  .btn_menu span:nth-of-type(3) {
    animation: btn07-bar03 0.3s forwards;
  }

  .btn_menu.open span:nth-of-type(1) {
    animation: active-btn07-bar01 0.3s forwards;
  }

  .btn_menu.open span:nth-of-type(2) {
    opacity: 0;
  }

  .btn_menu.open span:nth-of-type(3) {
    animation: active-btn07-bar03 0.3s forwards;
  }

  @media screen and (max-width: 768px) {
    .box_menu .btn_menu {
      display: block;
    }

    .box_menu ul {
      position: absolute;
      z-index: 0;
      background-color: #fff;
      top: 111px;
      right: 0;
      z-index: 999;
      padding: calc(50 / 390 * 100vw) calc(40 / 390 * 100vw);
      flex-flow: column;
      gap: 22px 0;
      transform: translateX(100%);
      width: 100%;
      height: calc(100dvh - 111px);
      transition: 0.3s;
      font-weight: 500;
      font-size: calc(18 / 390 * 100vw);

      overflow: scroll;
    }

    .box_menu.open ul {
      transform: translateX(0);
    }

    .box_menu ul li {
      width: 100%;
      padding-bottom: calc(22 / 390 * 100vw);
      border-bottom: 2px dotted var(--color01);

      .en {
        display: block;
        font-size: calc(14 / 390 * 100vw);
        color: var(--color01);
        margin-bottom: calc(5 / 390 * 100vw);
      }
    }
  }

  @media screen and (max-width: 390px) {
    .box_menu ul {
      top: calc(90 / 390 * 100vw);
      height: calc(100dvh - (90 / 390 * 100vw));
    }
  }
}

@keyframes active-btn07-bar01 {
  0% {
    top: min(calc(15 / 390 * 100vw), 15px);
    transform: rotate(0);
  }

  50% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(0);
  }

  100% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(45deg);
  }
}

@keyframes active-btn07-bar03 {
  0% {
    top: min(calc(33 / 390 * 100vw), 33px);
    transform: rotate(0);
  }

  50% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(0);
  }

  100% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(-45deg);
  }
}

@keyframes btn07-bar01 {
  0% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(45deg);
  }

  50% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(0);
  }

  100% {
    top: min(calc(15 / 390 * 100vw), 15px);
    transform: rotate(0);
  }
}

@keyframes btn07-bar03 {
  0% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(-45deg);
  }

  50% {
    top: min(calc(25 / 390 * 100vw), 25px);
    transform: rotate(0);
  }

  100% {
    top: min(calc(33 / 390 * 100vw), 33px);
    transform: rotate(0);
  }
}

/* フッター  ------------------------------*/
.block_footer {
  overflow: hidden;
  width: 100%;
  height: 950px;
  padding: 100px 0 150px;
  background-image: url("../img/common/bi_footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  color: #fff;
}

.block_footer .inner {
  margin: 0 auto;
  width: 1024px;
}

.block_footer .contact {
  background: var(--color01);
  padding: 38px 60px;
  border: 1px solid var(--color01);
  border-radius: 15px;
  display: flex;
  align-items: center;
  margin-bottom: 250px;

  .text00 {
    color: #fff;
  }
}

.block_footer .contact::after {
  content: "";
  background-image: url("../img/common/icon_arrow04.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 60px;
  aspect-ratio: 1;
  margin-left: auto;
}

.block_footer .contact h2 {
  font-weight: bold;
  font-size: 34px;
  line-height: calc(57 / 38);
  color: var(--color01);
  margin-right: 50px;
  padding-right: 50px;
  border-right: 1px solid #ccc;
  color: #fff;
}

.block_footer .contact h2 a {
  display: block;
}

.block_footer .footer_content {
  width: 446px;
  display: flex;
  flex-flow: column;
  margin-bottom: 43px;
}

.block_footer .footer_content .footer_ttl {
  width: 388px;
}

.block_footer .footer_content address {
  margin: 26px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: calc(25.2 / 14);
  color: #fff;
}

.block_footer .footer_content .text00 {
  font-weight: 500;
  font-size: 14px;
  line-height: calc(25.2 / 14);
  text-align: left;
  color: #fff;
}

.block_footer small {
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  line-height: calc(25.2 / 14);
}

@media screen and (max-width: 1320px) {
  .block_footer {
    padding-right: 2% !important;
    padding-left: 2% !important;
  }
}

@media screen and (max-width: 768px) {
  .block_footer {
    height: auto;
    aspect-ratio: 390 / 950;
    padding: calc(52 / 390 * 100vw) 0 calc(87 / 390 * 100vw) !important;
    background-image: url("../img/common/bi_footer_sp.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    color: #fff;
  }

  .block_footer .inner {
    width: 89.75%;
  }

  .block_footer .contact {
    padding: calc(27 / 390 * 100vw) calc(20 / 390 * 100vw) calc(20 / 390 * 100vw);
    border-radius: calc(15 / 390 * 100vw);
    flex-flow: column;

    margin-bottom: calc(180 / 390 * 100vw);

    .text00 {
      font-size: calc(16 / 390 * 100vw);
    }
  }

  .block_footer .contact::after {
    width: calc(60 / 390 * 100vw);
    margin: calc(10 / 390 * 100vw) auto 0;
  }

  .block_footer .contact h2 {
    font-size: calc(28 / 390 * 100vw);
    line-height: calc(57 / 28);
    line-height: 1;
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    margin-bottom: calc(19 / 390 * 100vw);
  }

  .block_footer .contact h2 a {
    display: block;
  }

  .block_footer .footer_content {
    width: 100%;
    display: flex;
    flex-flow: column;
    margin-bottom: calc(30 / 390 * 100vw);
  }

  .block_footer .footer_content .footer_ttl {
    width: calc(308 / 390 * 100vw);
  }

  .block_footer .footer_ttl {
    width: 88%;
    margin: 0 auto;
  }

  .block_footer .footer_content address {
    margin: calc(30 / 390 * 100vw) 0 calc(20 / 390 * 100vw);
    padding-bottom: 0;
    border-bottom: 0;
    font-size: calc(14 / 390 * 100vw);
  }

  .block_footer .footer_content .text00 {
    font-weight: 500;
    font-size: calc(14 / 390 * 100vw);
    line-height: calc(25.2 / 14);
    text-align: left;
    color: #fff;
  }

  .block_footer small {
    font-size: calc(12 / 390 * 100vw);
    line-height: calc(25.2 / 12);
  }
}

/* to_topボタン  ------------------------------*/
/* flag_onが付与された要素を通過した際にボタンが出てくる仕様です。 */

@media screen and (min-width: 769px) {
  .block_float {
    display: none;
  }
}

.block_float {
  overflow: hidden;
  position: fixed;
  z-index: 999;
  bottom: calc(20 / 390 * 100vw);
  left: 0;
  width: 100%;
  pointer-events: none;
}

.block_float .inner {
  margin: 0 auto;
  width: 1024px;
  max-width: 95%;
}

.block_float .inner .sp_tel {
  aspect-ratio: 350 / 50;
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: calc(5 / 390 * 100vw);
  background: var(--color01);
  font-weight: 500;
  font-size: calc(14 / 390 * 100vw);
  line-height: calc(16.8 / 14);
  text-align: center;
  color: #fff;

  cursor: pointer;
  pointer-events: auto;
  transform: translateY(100%);
  transition: 0.3s;
}

.block_float .inner .sp_tel::before {
  content: "";

  background-image: url("../img/common/icon_phone01.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  width: calc(18 / 390 * 100vw);
  aspect-ratio: 1;
}

.block_float .inner .sp_tel .en {
  font-size: calc(20 / 390 * 100vw);
  margin: 0 calc(11 / 390 * 100vw) 0 calc(5 / 390 * 100vw);
}

.block_float.on .inner .sp_tel {
  transform: translateY(0);
}

/* 共通パーツ  ------------------------------*/

:root {
  --color01: #2767fa;
  --color02: #339fcb;
  --color03: #f6f7fa;
}

box_00 {
  background-color: var(--color01);
}

.block_00 {
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 1320px) {
  .block_00 {
    padding-right: 2% !important;
    padding-left: 2% !important;
  }
}

@media screen and (max-width: 768px) {
  .block_00 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

.block_00 .inner {
  margin: 0 auto;
  width: 1024px;
  /* max-width: 95%; */
}

@media screen and (max-width: 768px) {
  .block_00 .inner {
    width: 89.75%;
  }
}

.ttl02 {
  display: flex;
  flex-flow: column;
  padding-bottom: 33px;
  position: relative;
  z-index: 0;
  font-weight: bold;
  font-size: 38px;
  line-height: calc(57 / 38);
  text-align: center;
  color: #222;

  @media screen and (max-width: 768px) {
    padding-bottom: calc(11 / 390 * 100vw);
    font-size: calc(28 / 390 * 100vw);
    line-height: calc(57 / 28);
  }

  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    background-color: var(--color01);
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100px;
    height: 5px;

    @media screen and (max-width: 768px) {
      width: calc(100 / 390 * 100vw);
      height: calc(5 / 390 * 100vw);
    }
  }

  .en {
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 11px;

    @media screen and (max-width: 768px) {
      font-size: calc(14 / 390 * 100vw);
      margin-bottom: calc(-3 / 390 * 100vw);
    }
  }
}

.ttl02 small {
  font-size: 20px;

  @media screen and (max-width: 768px) {
    line-height: 1.4rem;
    font-size: 16px;
    margin-top: calc(10 / 390 * 100vw);
    ;
  }
}

.ttl03 {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color01);

  @media screen and (max-width: 768px) {
    font-size: calc(18 / 390 * 100vw);
    line-height: 1.8;
  }
}

.text00 {
  font-weight: 500;
  font-size: 15px;
  line-height: calc(28.8 / 16);
  text-align: left;
  color: #0a0a0a;

  @media screen and (max-width: 768px) {
    font-size: calc(14 / 390 * 100vw);
    line-height: calc(25.2 / 14);
  }
}

.sp_on,
.sp_on02 {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp_on {
    display: inline;
  }

  .sp_on02 {
    display: block;
  }

  .sp_off {
    display: none;
  }
}

/* mv_sub  ------------------------------*/
.mv_sub {
  margin-top: 181px;
  position: relative;
  z-index: 0;
  height: 300px;

  @media screen and (max-width: 768px) {
    margin-top: calc(108px + 0.1746031746 * (100vw - 390px));

    height: calc(120 / 390 * 100vw);
  }

  @media screen and (max-width: 390px) {
    margin-top: calc(108 / 390 * 100vw);
  }

  .mv_inner {
    margin: 0 auto;
    width: 1024px;
    height: 100%;
    display: flex;
    align-items: center;

    @media screen and (max-width: 1320px) {
      padding-right: 2%;
      padding-left: 2%;
    }

    @media screen and (max-width: 768px) {
      margin: 0 auto 0 0;
      padding: 0 calc(20 / 390 * 100vw);
      width: 94.87%;
    }
  }

  h1 {
    font-weight: bold;
    font-size: 38px;
    letter-spacing: 0.05em;
    line-height: calc(68.4 / 38);

    .en {
      display: block;
      font-weight: 500;
      font-size: 18px;
      line-height: calc(32.4 / 18);
      color: #222;

      @media screen and (max-width: 768px) {
        font-size: calc(14 / 390 * 100vw);
        line-height: calc(25.2 / 18);
      }
    }

    @media screen and (max-width: 768px) {
      font-weight: bold;
      font-size: calc(18 / 390 * 100vw);
      line-height: calc(43.2 / 18);
    }
  }
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

:root {
  scroll-padding: 100px;
  scroll-behavior: smooth;

  @media screen and (max-width: 768px) {
    scroll-padding: 150px;
  }
}