.noto-sans {
  font-family: "Noto Sans jp", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* ====== reset ====== */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-style: normal;
  border: 0;
  border-style: solid;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  line-height: 1;
  scroll-padding-top: 130px;
  overflow-y: scroll;
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans jp", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #2e3f51;
  line-height: 2;
  padding-top: 130px;
  overflow: hidden;
  position: relative;
  counter-reset: number 0;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
body#index {
  padding-top: 70px;
}

/* デバイス別フォントサイズ調整 */
@media screen and (max-width: 1025px) {
  html {
    scroll-padding-top: 130px;
  }
  body {
    font-size: calc(100vw / 64);
    padding-top: 130px;
  }
}
@media screen and (max-width: 811px) {
  body {
    font-size: calc(100vw / 54);
  }
}
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 15vw;
  }
  body#index {
    padding-top: 12vw;
  }
  body {
    font-size: calc(100vw / 30);
    padding-top: 12vw;
  }
}
/* @media screen and (orientation: landscape) {
  body {
    font-size: calc(100vw / 40);
  }
} */
@media screen and (max-width: 415px) {
  body {
    font-size: calc(100vw / 26);
    padding-top: 13vw;
  }
}

/* htmlサイト初期設定 */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: normal;
}
div,
dd,
dt,
ul,
li,
section {
  line-height: 1.4;
}
p {
  line-height: 1.8;
}
ul,
ol {
  list-style: none;
  line-height: 2;
}
a,
dt {
  display: block;
}
a {
  color: #333333;
  text-decoration: none;
}
a:active,
a:invalid,
a:hover {
  color: #0251c7;
  text-decoration: none;
}
img {
  width: 100%;
}
small {
  font-size: 80%;
}
/* ====== 共通css ====== */
.txt-c {
  text-align: center;
}
.txt-l {
  text-align: left;
}
.br_pc {
  display: inline;
}
.br_sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .br_pc {
    display: none;
  }
  .br_sp {
    display: inline;
  }
}

.cotns_box {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* 見出し */
.cntns_hl1 {
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 60px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cntns_hl1::before {
  content: "";
  display: block;
  margin: 0 auto;
  height: 10px;
  width: 90px;
  background: url(../images/common/hr_icon.png) no-repeat;
  background-size: cover;
  position: absolute;
  bottom: -80%;
  left: 0;
  right: 0;
  z-index: -1;
}
.cntns_hl2 {
  width: 100%;
  margin: 20px 0 10px;
  padding: 6px 10px 10px 10px;
  font-size: 32px;
  font-weight: bold;
  position: relative;
}
.cntns_hl2::before {
  content: "";
  display: block;
  margin: auto;
  height: 6px;
  width: 0;
  background: #64bef4;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.cntns_hl2::after {
  content: "";
  display: block;
  margin: auto;
  height: 6px;
  width: 0;
  background: #0251c7;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.cntns_hl2.is-active::before {
  width: 100%;
  transition: all 1.5s ease 0s;
}
.cntns_hl2.is-active::after {
  width: 50px;
  transition: all 0.5s ease 0s;
}

/*中の要素*/
.cntns_hl2_items {
  opacity: 0;
}
.cntns_hl2_items.is-active {
  animation-name: cntnshl2items;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
}

@keyframes cntnshl2items {
  0%,
  50% {
    opacity: 0;
  }
  50.001%,
  100% {
    opacity: 1;
  }
}

.whitemarker {
  position: relative;
}
.whitemarker.is-active::before {
  animation-name: whitemarker;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 5;
}

@keyframes whitemarker {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

.arrow {
  position: relative;
  display: block;
  width: fit-content;
  margin: 10px 30px 10px auto;
  padding: 5px 10px 0 10px;
  font-weight: 500;
  color: #0251c7;
}
.arrow span {
  position: relative;
  display: block;
  width: calc(100% + 10px);
  height: 2px;
  margin-top: 10px;
  background-image: linear-gradient(90deg, #64bef4, #1e9cd7 30%, #0251c7);
  transform: translateX(20px);
  transition: all 0.5s ease 0s;
}
.arrow:hover span {
  transform: translateX(45px);
  transition: all 0.5s ease 0s;
}
.arrow span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -16px;
  width: 8px;
  height: 2px;
  background-color: #64bef4;
}
.arrow span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15px;
  height: 2px;
  border-radius: 9999px;
  background: #0251c7;
  transform: rotate(45deg);
  transform-origin: calc(100% - 1px) 50%;
}

@media screen and (max-width: 1025px) {
  .cntns_hl1 {
    font-size: calc(80vw / 26);
    margin-bottom: 6vw;
  }
  .cntns_hl2 {
    font-size: calc(80vw / 28);
    padding: 0 0 2vw 0;
    margin: 0 auto 3vw;
  }
}
@media screen and (max-width: 768px) {
  .cntns_hl1 {
    font-size: calc(80vw / 16);
    margin-bottom: 12vw;
  }
  .cntns_hl2 {
    font-size: calc(80vw / 16);
    padding: 0 0 2vw;
    margin-bottom: 6vw;
  }
  .cntns_hl2::before {
    width: 7vw;
  }
}

/* 共通ボタンデザイン */
.main_btn {
  width: fit-content;
}
.main_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 70px 10px 10px;
  width: 100%;
  min-height: 80px;
  background: #000000;
  color: #ffffff;
  text-align: center;
  position: relative;
  z-index: 0;
}
.main_btn a::after {
  content: "";
  display: block;
  border-top: 2px solid #ffffff;
  width: 40px;
  position: absolute;
  right: 30px;
  transition: all 0.3s ease 0s;
}
.main_btn a:hover::after {
  right: 8px;
  transition: all 0.3s ease 0s;
}
.main_btn a::before {
  background: #0251c7;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.main_btn a:hover::before {
  transform: scale(1, 1);
}
/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  .main_btn a {
    padding: 2vw 9vw 2vw 3vw;
    min-height: 40px;
  }
  .main_btn a::after {
    width: 40px;
    right: 20px;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .main_btn a {
    padding: 5vw 20vw 5vw 10vw;
    width: 100%;
    min-height: 40px;
  }
  .main_btn a::after {
    width: 10vw;
    right: 30px;
    transition: all 0.3s ease 0s;
  }
  .main_btn a:hover::after {
    right: 10px;
    transition: all 0.3s ease 0s;
  }
}
/* @media screen and (orientation: landscape) {
  .main_btn a {
    padding: 5% 20% 5% 10%;
    width: 100%;
    min-height: 40px;
  }
  .main_btn a::after {
    width: 20px;
    right: 10px;
  }
} */

/* ====== header ====== */
header {
  padding: 5px 0;
  width: 100%;
  height: 70px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
header .main_menu {
  width: 94%;
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
header h1 {
  line-height: 0;
  max-width: 300px;
  width: 30%;
  margin: auto;
}

/* header menu */
#menu_sp {
  display: none;
}
nav.main_menu {
  width: 100%;
  background-image: linear-gradient(0deg, #003399, #207fdd);
  position: fixed;
  top: 70px;
  left: 0;
  z-index: 999;
}
nav.main_menu ul {
  max-width: 1536px;
  width: 96%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
nav.main_menu li {
  display: flex;
  height: 60px;
  align-self: center;
  width: calc((100% / 7));
  color: #ffffff;
  border: 0;
  border-right: 2px #ffffff solid;
}
nav.main_menu li:nth-of-type(1) {
  border-left: 2px #ffffff solid;
}
nav.main_menu li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  transition: all 0.3s ease 0s;
}
nav.main_menu li:hover {
  background: #ffffff22;
  transition: all 0.3s ease 0s;
}
@media screen and (max-width: 1025px) {
  header {
    padding: 1vw 0;
  }
  header h1 {
    width: 25%;
  }
  header .main_menu {
    flex-wrap: wrap;
  }
  nav.main_menu ul {
    padding-right: 0;
  }
  nav.main_menu ul li a {
    font-size: calc(11vw / 6);
  }
}

/* hamburger menu */
nav.main_menu_sp {
  display: block;
  position: fixed;
  top: 0;
  left: -240px;
  bottom: 0;
  width: 240px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: 3;
  opacity: 0;
}
.open nav.main_menu_sp {
  left: 0;
  opacity: 1;
  transition: all 0.5s;
}
nav.main_menu_sp .inner {
  padding: 25px;
}
nav.main_menu_sp .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main_menu_sp .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav.main_menu_sp .inner ul li:last-child {
  border: 0;
}
nav.main_menu_sp .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav.main_menu_sp .inner ul li a:hover {
  background: #e4e4e4;
}
nav.main_menu_sp .inner ul li.main_menu_sp_sns a {
  width: 80px;
}
.toggle_btn {
  display: block;
  position: fixed;
  top: 10px;
  left: 20px;
  width: 30px;
  height: 30px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 3;
}
.open .toggle_btn {
  left: 250px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #0251c7;
  border-radius: 4px;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.open .toggle_btn span:nth-child(1),
.open .toggle_btn span:nth-child(3) {
  width: 16px;
}
.open .toggle_btn span:nth-child(1) {
  top: 5px;
  -webkit-transform: translate(-1px, 4px) rotate(-45deg);
  transform: translate(-1px, 4px) rotate(-45deg);
}
.open .toggle_btn span:nth-child(2) {
  display: none;
}
.open .toggle_btn span:nth-child(3) {
  bottom: 4px;
  -webkit-transform: translate(-1px, -4px) rotate(45deg);
  transform: translate(-1px, -4px) rotate(45deg);
}
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: 2;
  cursor: pointer;
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .main_menu {
    display: none;
  }
  header h1 {
    width: 50vw;
    max-width: 200px;
    margin: auto;
  }
  #menu_pc {
    display: none;
  }
  #menu_sp {
    display: block;
    height: auto;
    padding: 1vw 0;
    border-bottom: 6px solid #0251c7;
  }
}
@media screen and (max-width: 415px) {
  #menu_sp {
    height: 13vw;
  }
}
@media screen and (max-width: 391px) {
  header h1 {
    width: 50vw;
    max-width: 170px;
  }
  .toggle_btn {
    top: 2vw;
    left: 4vw;
    width: 30px;
    height: 30px;
  }
  #menu_sp {
    height: 15vw;
  }
}

/* ====== footer ====== */
footer {
  width: 100%;
  padding: 10px 0 0;
  background: url(../images/common/footer_bg.jpg) no-repeat center center;
  background-size: cover;
  text-align: center;
  position: relative;
  z-index: 99;
}
footer h1 {
  margin: auto;
}
footer .footer_menu {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 10px;
}
footer .footer_sitemap ul {
  width: 90%;
  max-width: 860px;
  width: fit-content;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
footer .footer_sitemap ul li {
  width: calc((100% / 3) - 10px);
}
footer .footer_menu .footer_adrs {
  width: 100%;
  padding: 20px 0;
}
footer .footer_menu .footer_adrs h1 {
  max-width: 375px;
  width: 30%;
  background: #ffffff;
  padding: 5px 15px;
  margin: 10px auto 20px;
}
footer .footer_menu .footer_adrs ul {
  width: 90%;
  max-width: 860px;
  width: fit-content;
  margin: auto;
}
footer .footer_menu .footer_adrs ul li {
  color: #ffffff;
  padding-bottom: 10px;
}
footer .footer_menu .footer_adrs ul li .tel {
  justify-content: center;
}
.copyright {
  background: #0251c7;
  padding: 5px 0 30px;
  text-align: center;
  font-size: 16px;
  color: #ffffff;
}
@media screen and (max-width: 1025px) {
  footer .footer_sitemap ul {
    width: 90%;
    margin: auto;
    padding: 15px 0;
    gap: 10px;
  }
  footer .footer_btn .main_btn a {
    font-size: calc(50vw / 24);
  }
}
@media screen and (max-width: 768px) {
  footer {
    padding: 6vw 0 0;
  }
  footer .footer_menu {
    display: block;
    padding: 0;
  }
  footer .footer_sitemap ul {
    gap: 5px;
  }
  footer .footer_sitemap ul li {
    width: calc((100% / 2) - 10px);
  }
  footer .footer_menu .footer_adrs {
    width: 100%;
  }
  footer .footer_menu .footer_adrs h1 {
    width: 60%;
    margin: 2vw auto 3vw;
  }
  footer .footer_menu .footer_adrs address ul {
    width: 100%;
    font-size: calc(100vw / 28);
  }
  footer .footer_menu .footer_adrs address ul li {
    margin: 2vw auto;
    padding: 0;
  }
  footer .footer_menu .footer_adrs address ul li span {
    justify-content: center;
    line-height: 1.4;
  }
  .copyright {
    font-size: calc(100vw / 32);
  }
}
.tel {
  display: flex;
}

/* トップへ戻るボタン */
#page_top {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0251c7;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 70%;
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 990;
  border-radius: 10px;
}
@media screen and (max-width: 1025px) {
  #page_top {
    font-size: 100%;
  }
}
@media screen and (max-width: 768px) {
  #page_top {
    width: 16vw;
    height: 16vw;
    max-width: 80px;
    max-height: 80px;
    position: fixed;
    bottom: 10vw;
    right: 5vw;
  }
}

/* svgの設定 */
/* メールアイコン */
svg {
  width: 100%;
  height: auto;
}
.mail_icon {
  display: inline-block;
  width: 20px;
  height: 17px;
}
.mailicon_b {
  fill: #000000;
}
.mailicon_g {
  fill: #009245;
}
