/* 共通 */
.pc.tb {
  display: inline-block
}
.tb {
  display: none;
}
.sp {
  display: none;
}

/* 変数 */
:root {
  --headerHight: 100px;
  --menuBarWidth: 44px;
  --primaryColor: #2d509a;
  --secondaryColor: #c1e9f7;
  --fontColor: #666666;
  --bgWidth: 1440px;
}
/* ここまで */


/* 全体 */
@media (min-width: 561px) {
  a[href^="tel:"] {
      pointer-events: none;
      cursor: default;
  }
}


/* 共通 */
img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
	color: var(--primaryColor);
}

/* リキャプチャ */
.grecaptcha-badge { visibility: hidden; }

/* フォント関係 */
body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-weight: bold;
  font-style: normal;
  color: var(--fontColor);
}

.gfontZen {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bolder;
  font-style: normal;
  color: var(--primaryColor);
}




/* imgアニメーション */
.imgWrap, .imgWrap2 {
  overflow: hidden;
  position: relative;
}

.imgWrap::before, .imgWrap2::before {
  background: var(--primaryColor);
  content: '';
  inset: -1%;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.imgAnimation.imgWrap::before {
  animation: imgAnimation 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes imgAnimation {
  0% {transform: translateX(0);}
  100% {transform: translateX(-100%);}
}

.imgAnimation2.imgWrap2::before {
  animation: imgAnimation2 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes imgAnimation2 {
  0% {transform: translateX(0);}
  100% {transform: translateX(100%);}
}




/* フェードイン */
.fadeinTopBottom {
  opacity : 0;
  transform: translateY(80px);
  transition: opacity 2s, transform 2s;
}
@media(max-width: 560px) {
  .fadeinTopBottom {
    opacity : 0;
    transform: translateY(40px);
    transition: opacity 2s, transform 2s;
  }
}

.fadein_bottom {
  opacity : 0;
  transform: translateY(80px);
  transition: opacity 2s, transform 2s;
}
@media(max-width: 560px) {
  .fadein_bottom {
    opacity : 0;
    transform: translateY(40px);
    transition: opacity 2s, transform 2s;
  }
}





/* ヘッダー */
header {
  width: 100%;
  height: var(--headerHight);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

#topMenuContainer {
  height: 100%;
  padding: 0 40px 0;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 11;
}

.logo {
  width: 30%;
  max-width: 135.7px;
}

.headerMenu {
  position: relative;
}

#menuBarContainer {
  width: var(--menuBarWidth);
  height: 44px;
  padding: 15.5px 0;
  box-sizing: border-box;
  background: var(--primaryColor);
  text-align: center;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: 1s;
  z-index: 30;
}

#menuBarContainer span {
  width: 22px;
  height: 4px;
  margin: 5px auto 0 auto;
  background: #fff;
  border-radius: 1px;
  z-index: 5;
  display: block;
  transition: 1s;
}

#menuBarContainer > span:first-of-type {
  margin-top: 0;
}

#menuBarContainer.open {
  background: #fff;
}

#menuBarContainer.open > span:first-of-type {
  animation: open1 1s both;
  background: var(--primaryColor);
}
#menuBarContainer.open > span:last-of-type {
  animation: open3 1s both;
  background: var(--primaryColor);
}

#menuBarContainer.close > span:first-of-type {
  animation: close1 1s both;
  background: #fff;
}
#menuBarContainer.close > span:last-of-type {
  animation: close3 1s both;
  background: #fff;
}

@keyframes open1 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(4.5px) rotate(0deg);}
  100% {transform: translateY(4.5px) rotate(45deg);}
}
@keyframes open3 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(-4.5px) rotate(0deg);}
  100% {transform: translateY(-4.5px) rotate(-45deg);}
}

@keyframes close1 {
  0% {transform: translateY(4.5px) rotate(45deg);}
  50% {transform: translateY(4.5px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}
@keyframes close3 {
  0% {transform: translateY(-4.5px) rotate(-45deg);}
  50% {transform: translateY(-4.5px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}

.headerContanct {
  width: 40px;
  position: absolute;
  top: 54px;
  left: 2px;
  border-radius: 10px;
  padding: 30px 0 20px 0;
  box-sizing: border-box;
  background: #b2b2b2;
}

.headerContanct a {
  width: 100%;
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 2px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 10px;
}

.headerContanct a img {
  width: 19.8px;
}






#menuContents {
  width: 100%;
  max-width: 405px;
  height: 100vh;
  max-height: 720px;
  padding-top: 30px;
  box-sizing: border-box;
  background: var(--primaryColor);
  border-radius: 30px;
  position: fixed;
  inset: 15px 25px auto auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 70px 0;
  visibility: hidden;
  opacity: 0;
  transition: 1s;
}
#menuContents.open {
  visibility: visible;
  opacity: 1;
}

#menuContents nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px 0;
}

#menuContents li {
  position: relative;
}

#menuContents li a {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

#menuContents li a span:first-of-type {
  display: block;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1;
  /* font-weight: bolder; */
  color: #fff;
}

#menuContents li a span:last-of-type {
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 400;
  color: #bde4f9;
}

.menuLogo {
  width: 108.6px;
}













/* フッター */
footer {
  padding: 40px 0 30px;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.footerContentsContainer {
  width: 90%;
  max-width: 1158px;
  margin: 0 auto;
}

.footerContents {
  display: flex;
  justify-content: space-between;
}

.footerLogo {
  width: 100.5px;
  margin-left: 5px;
}

.footerMenuContainer {
  display: flex;
  gap: 0 25px;
}

.footerMenu {
  height: 160px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px 40px;
}

.footerMenu li {
  text-align: right;
}

.footerMenu li a {
  font-size: 20px;
  letter-spacing: 3px;
}

.footerLinkBtnContainer {
  width: 227px;
}

.footerLinkBtn {
  height: 96px;
  margin-bottom: 15px;
  background: #dedff0;
  border-radius: 10px;
}

.footerLinkBtn a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--fontColor);
}

.footerLinkBtn a img {
  width: 19.5px;
}

.footerContentsContainer small {
  display: block;
  margin-top: 25px;
  font-size: 10px;
}






@media (max-width: 1024px) {
/* 共通 */
.pc {
  display: none;
}
.tb {
  display: inline-block;
}
.tb.sp {
  display: inline-block;
}

/* 変数 */
:root {
  --headerHight: 80px;
  --menuBarWidth: 44px;
}
/* ここまで */




/* ヘッダー */
#topMenuContainer {
  padding: 0 20px 0;
}

.logo {
  width: 30%;
  max-width: 110px;
}

#menuContents {
  inset: 10px 10px auto auto;
}




/* フッター */
footer {
  padding: 40px 0 30px;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.footerContentsContainer {
  width: 90%;
  max-width: 1158px;
  margin: 0 auto;
}

.footerContents {
  flex-direction: column;
  gap: 30px 0;
}

.footerLogo {
  width: 90px;
  margin-left: 2px;
}

.footerMenuContainer {
  justify-content: space-between;
}

.footerContentsContainer small {
  text-align: center;
}

}






/* スマホ */
@media (max-width: 560px) {
/* 共通 */
.pc.tb {
  display: none;
}
.tb {
  display: none;
}
.sp {
  display: inline-block;
}


/* 変数 */
:root {
  --headerHight: 50px;
  --menuBarWidth: 32px;
}




/* ヘッダー */
#topMenuContainer {
  padding: 0 10px 0;
}

.logo {
  max-width: 81.4px;
}

.headerMenu {
  position: relative;
}

#menuBarContainer {
  height: 32px;
  padding: 11px 0;
}

#menuBarContainer span {
  width: 16px;
  height: 3px;
  margin: 4px auto 0 auto;
}

@keyframes open1 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(3.5px) rotate(0deg);}
  100% {transform: translateY(3.5px) rotate(45deg);}
}
@keyframes open3 {
  0% {transform: translateY(0px) rotate(0deg);}
  50% {transform: translateY(-3.5px) rotate(0deg);}
  100% {transform: translateY(-3.5px) rotate(-45deg);}
}

@keyframes close1 {
  0% {transform: translateY(3.5px) rotate(45deg);}
  50% {transform: translateY(3.5px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}
@keyframes close3 {
  0% {transform: translateY(-3.5px) rotate(-45deg);}
  50% {transform: translateY(-3.5px) rotate(0deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}

.headerContanct {
  width: 29px;
  top: 44px;
  left: 1.5px;
  border-radius: 8px;
  padding: 18px 0 13px 0;
}

.headerContanct a {
  font-size: 10.5px;
  letter-spacing: 1px;
  gap: 0px 5px;
}

.headerContanct a img {
  width: 14.3px;
}







#menuContents {
  width: 90%;
  max-width: 300px;
  height: auto;
  /* max-height: 720px; */
  padding-top: 40px;
  padding-bottom: 40px;
  /* box-sizing: border-box;
  background: var(--primaryColor); */
  border-radius: 20px;
  /* position: fixed; */
  inset: 5px 7px auto auto;
  /* z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
  gap: 40px 0;
  /* visibility: hidden;
  opacity: 0; */
  /* transition: 1s; */
}
#menuContents.open {
  visibility: visible;
  opacity: 1;
}

#menuContents nav ul {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  gap: 15px 0;
}

/* #menuContents li {
  position: relative;
} */

#menuContents li a {
  /* display: block; */
  font-size: 13px;
  line-height: 1.5;
  /* font-weight: 600;
  text-align: center; */
}

#menuContents li a span:first-of-type {
  /* display: block; */
  font-size: 17px;
  /* letter-spacing: 2px;
  line-height: 1; */
  /* font-weight: bolder; */
  /* color: #fff; */
}

#menuContents li a span:last-of-type {
  font-size: 10.5px;
  letter-spacing: 1px;
  /* line-height: 1;
  font-weight: 400;
  color: #bde4f9; */
}

.menuLogo {
  width: 80px;
}





/* フッター */
footer {
  padding: 30px 0 20px;
}

.footerContentsContainer {
  width: 80%;
  max-width: 1158px;
  margin: 0 auto;
}

.footerLogo {
  width: 64.3px;
  margin-left: 0px;
}

.footerMenuContainer {
  justify-content: space-between;
  align-items: flex-end;
}

.footerMenu {
  height: auto;
  gap: 6px 0;
}

.footerMenu li {
  text-align: left;
}

.footerMenu li a {
  font-size: 16px;
  letter-spacing: 1.5px;
}

.footerLinkBtnContainer {
  width: 181px;
}

.footerLinkBtn {
  height: 76px;
}
.footerLinkBtn:last-of-type {
  margin-bottom: 0;
}

.footerLinkBtn a {
  gap: 0 5px;
  font-size: 13.6px;
}

.footerLinkBtn a img {
  width: 15.6px;
  margin-top: -3px;
}

.footerContentsContainer small {
  margin-top: 70px;
}



}