/* 設定 */
:root {
  --color-main : #0085ff;
  --color-balck : #555;
  --color-white : #fff;
}

/* 共通 */
.header,
.footer,
.common-footer{
  font-family: Helvetica Neue, Helvetica, YuGothic, Yu Gothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, "ＭＳＰゴシック", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
}
a{
  text-decoration: none;
  transition: opacity .2s ease;
}
a[href^="tel:"]{
  pointer-events: none;
}
.u-mobile{
  display: none;
}
@media (max-width: 641px) {
  * {
    line-height: 1.8;
  }
  a[href^="tel:"]{
    pointer-events: auto;
  }
  .u-mobile{
    display: block;
  }
}

/* ヘッダー */
.header{
  height: auto !important;
  transition: all .3s ease-out;
}
.header.fixed{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  animation-name: fadeIn;
  animation-duration: .5s;
  animation-fill-mode: both;
}
.header__title {
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-main);
  padding-inline: 1.875rem;
  padding-block: 0.3125rem;
  font-size: 0.7rem;
  font-weight: 600;
}
.header.fixed .header__title{
  display: none;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  padding-inline: 1.875rem;
  background-color: var(--color-white);
}
.header__logo {
  width: 22%;
  max-width: 20.5rem;
  min-width: 8.75rem;
  margin-right: 3%;
  flex-shrink: 0;
}
.header__logo:hover {
  opacity: .4;
}
.header__navList {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 1.5625rem;
  margin-bottom: 0.625rem;
  row-gap: 1.5625rem;
  padding-left: 0;
}
.header__navLink {
  display: inline-block;
  padding-inline: 0.9375rem;
  text-decoration: none;
  color: #333;
  font-size: 1.05rem;
  font-weight: bolder;
  border-bottom: 1px solid transparent;
}
.header__navLink:hover{
  border-bottom: 1px solid #0085ff;
  color: #333;
  opacity: 1;
}
@media (max-width: 641px) {
  .header.fixed{
    position: initial;
    top: initial;
    right: initial;
    left: initial;
    animation: none;
  }
  .header__title {
    text-align: center;
    font-size: 0.6125rem;
    padding-block: 0.3125rem;
    padding-inline: 0.3125rem;
  }
  .header__inner{
    padding: 0;
  }
  .header__logo {
    width: 100%;
    padding-left: 1.5625rem;
    padding-top: 0.3125rem;
    padding-right: 0.3125rem;
    padding-bottom: 0.3125rem;
  }
  .header__logo img{
    width: 100%;
    max-width: 18.75rem;
  }
  .header__nav {
    width: 100%;
    max-height: 100%;
    min-height: 65%;
    background-color: var(--color-main);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    transform: translateY(-100%);
    transition: all .8s;
    overflow-y: auto;
  }
  .header__nav.open{
    transform: translateY(0);
  }
  .header__navList {
    display: block;
    margin: 0;
  }
  .header__navClose{
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    position: relative;
    padding-inline: 1.25rem;
  }
  .header__navClose::before,
  .header__navClose::after{
    content: "";
    display: block;
    width: 0.6875rem;
    height: 0.125rem;
    background-color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }
  .header__navClose::after{
    transform: translateX(-50%) rotate(-45deg);
  }
  .header__navItem {
    margin-inline: 1.25rem;
    padding-block: 0.625rem;
    text-align: center;
    border-top: 1px solid var(--color-white);
  }
  .header__navItem:first-child{
    border-top: none;
    text-align: right;
  }
  .header__navLink {
    color: var(--color-white);
    border-bottom: none;
    font-weight: bold;
    width: 100%;
    text-align: center;
  }
  .header__navLink:hover{
    background-color: transparent;
    border-bottom: none;
    color: var(--color-white);
  }
  .header__burger{
    position: fixed;
    top: 1.875rem;
    right: 0.3125rem;
    display: flex;
    background-image: linear-gradient(210deg, var(--color-main) 0%, #68e2d4 100%);
    border-radius: 1.875rem;
    width: 3rem;
    height: 3rem;
    z-index: 2;
  }
  .header__burgerBar,
  .header__burgerBar::before,
  .header__burgerBar::after{
    content: "";
    display: block;
    height: 0.25rem;
    width: 2rem;
    background-color: var(--color-white);
    position: relative;
  }
  .header__burgerBar{
    margin: auto;
  }
  .header__burgerBar::before{
    top: -0.625rem;
  }
  .header__burgerBar::after{
    bottom: -0.375rem;
  }
}
@media (max-width: 374px) {
  .header__logo {
    padding-left: 0.3125rem;
  }
    .header__logo img {
    max-width: 16.25rem;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* 共通フッター */
.common-footer{
  margin-top: 3.125rem;
  background-color: #d4eef3;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.common-footer::before{
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  background-image: url("../img/footer_bg.webp");
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.common-footer__inner{
  margin: 0 auto;
  max-width: 64rem;
  padding-inline: 1.875rem;
  position: relative;
}
.common-footer__professional{
  padding-top: 8.75rem;
}
.common-footer__professional-title{
  text-align: center;
  font-size: 2.1875rem;
  font-weight: bold;
  color: var(--color-main);
  line-height: 1.6;
}
.common-footer__professional-title span{
  color: #ff9900;
  font-size: 130%;
}
.common-footer__professional p{
  margin-top: 0.625rem;
  font-size: 1.3125rem;
  padding-inline: 0.625rem;
  background-color: #d4eef3;
  text-align: center;
  line-height: 1.6;
}
.common-footer__related{
  margin-top: 6.875rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 4%;
}
.common-footer__related-item{
  width: calc(100%/2 - 4%*1/2);
}
.common-footer__related-item:nth-child(n+3){
  margin-top: 4%;
}
.common-footer__related-link{
  display: inline-block;
  width: 100%;
}
.common-footer__related-link:hover{
  opacity: .4;
}
.common-footer__related-title{
  font-size: 1.1375rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-balck);
}
.common-footer__pay {
  padding-top: 3.75rem;
  padding-bottom: 1.875rem;
  margin-top: 4.375rem;
  text-align: center;
  position: relative;
}
.common-footer__pay::before{
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  background-color: var(--color-white);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 0;
}
.common-footer__pay-text {
  font-weight: bold;
  font-size: 1.7063rem;
  line-height: 1.6;
  color: var(--color-main);
  background-color: #e4f7f7;
  position: relative;
}
.common-footer__pay-text::before{
  content: "";
  width: 1.6875rem;
  height: 1.6875rem;
  display: inline-block;
  background-image: url("../img/important.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  margin-right: 0.1875rem;
  position: relative;
  top: 0.1875rem;
}
.common-footer__pay-textS {
  margin-top: 0.625rem;
  font-size: 1.05rem;
  position: relative;
}
.common-footer__pay-image {
  width: 100%;
  max-width: 50rem;
  margin-inline: auto;
  position: relative;
}
.common-footer__sns{
  margin-top: 2.5rem;
  padding-bottom: 8.125rem;
  display: flex;
  align-items: center;
  gap: 4%;
}
.common-footer__sns-link{
  display: inline-block;
  width: calc(100%/6 - 4%*5/6);
  transition: all .3s ease-out;
}
.common-footer__sns-link:hover{
  opacity: .4;
}
@media (max-width: 641px) {
  .common-footer{
    margin-top: 3.125rem;
  }
  .common-footer__inner{
    margin: 0 auto;
    padding-inline: 1.5625rem;
  }
  .common-footer__professional{
    padding-top: 4.6875rem;
  }
  .common-footer__professional-title{
    font-size: 1.3125rem;
  }
  .common-footer__professional p{
    margin-top: 0;
    font-size: 1.05rem;
  }
  .common-footer__related{
    margin-top: 2.8125rem;
  }
  .common-footer__related-title{
    margin-top: 0.625rem;
    font-size: 0.875rem;
  }
  .common-footer__pay {
    padding-top: 1.875rem;
    padding-inline: 0.3125rem;
    margin-top: 1.5625rem;
  }
  .common-footer__pay-text {
    font-size: 1.365rem;
  }
  .common-footer__pay-text::before{
    width: 1.375rem;
    height: 1.375rem;
    top: 0.1875rem;
  }
  .common-footer__pay-textS {
    font-size: 0.875rem;
  }
  .common-footer__pay-image {
    max-width: 21.875rem;
  }
  .common-footer__sns{
    margin-top: 1.5625rem;
    padding-bottom: 9.375rem;
    align-items: center;
    flex-wrap: wrap;
  }
  .common-footer__sns-link{
    display: inline-block;
    width: calc(100%/3 - 4%*2/3);
  }
  .common-footer__sns-link:nth-child(n+4){
    margin-top: 4%;
  }
}
@media (max-width: 374px) {
  .common-footer__professional-title {
      font-size: 5.5vw;
  }
}

/* フッター */
.footer{
  background-color: var(--color-white) !important;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 !important;
  z-index: 1;
}
.footer__wrap {
  padding-left: 1.875rem;
  padding-top: 0.3125rem;
  padding-right: 1.875rem;
  padding-bottom: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
}
.footer__tel {
  display: inline-block;
  width: 50%;
  font-size: 2.1875rem;
  font-weight: bold;
  letter-spacing: 0.0437rem;
  line-height: 1.6;
  text-align: right;
  color: #4a86e8 !important;
}
.footer__btns{
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
.footer__line,
.footer__mail {
  display: inline-block;
  width: 50%;
  max-width: 11.25rem;
}
.footer__pagetop {
  display: inline-block;
  position: absolute;
  top: -3.125rem;
  right: 1.875rem;
  cursor: pointer;
  opacity: 0;
  transition: all .5s ease-out;
}
.footer__pagetop.active{
  opacity: 1;
}
.footer__tel:hover,
.footer__line:hover,
.footer__mail:hover,
.footer__pagetop:hover {
  opacity: .4;
}
.footer__copyright{
  background-color: var(--color-main);
  padding-block: 0.3125rem;
  font-size: 0.7rem;
  color: var(--color-white);
  font-weight: 400;
  text-align: center;
}

@media (max-width: 641px) {
  .footer__wrap {
    padding-left: 0.3125rem;
    padding-top: 0;
    padding-right: 0.3125rem;
    padding-bottom: 0.3125rem;
    flex-direction: column;
    gap: 0;
  }
  .footer__tel {
    width: 100%;
    font-size: 1.75rem;
    text-align: center;
  }
  .footer__btns{
    width: 100%;
  }
  .footer__line,
  .footer__mail {
    max-width: 10rem;
  }
  .footer__pagetop {
    width: 3.125rem;
    height: 3.125rem;
    top: -4.0625rem;
    right: 0.9375rem;
  }
}

/* テーマ調整 */
.content-in.wrap{
  position: relative;
  z-index: 1;
}
.sns-share.ss-col-6.ss-top {
  z-index: 1;
}