@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&family=Shippori+Mincho:wght@400;500;600;700&family=Tenor+Sans&display=swap');

/* =======================================
共通
======================================== */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
pre,
form,
fieldset,
figure,
input,
textarea,
p,
blockquote,
th,
td {
  letter-spacing: 0.1em;
}

body {
  font-weight: 50;
  font-family: "Shippori Mincho", serif;
}

img {
  width: 100%;
}

.container {
  max-width: 1320px;
  /* 中身が1290pxになる */
}

/* =======================================
header
======================================== */
:root {
  --header-top-margin: 26px;
  --navy-color: #1f195b;
  --blue-color: #29acfa;
}

.wrapper {
  overflow: hidden;
  background-image: url("../images/top/fixed_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.wrapper.page {
  background: none;
}

#header {
  position: fixed;
  margin-top: var(--header-top-margin);
}

.logo a {
  display: flex;
  gap: 0 12px;
  align-items: center;
}

.logo .logo-text {
  font-size: 40px;
  letter-spacing: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
}


#header .container-fluid {
  padding-left: 50px;
  padding-right: 50px;
}

#header .row-head {
  display: flex;
  padding: 0 50px;
  height: 100px;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
}

.logo-mark {
  display: table;
  width: 71px;
}

.tel-box {
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.tel-box .tel-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1f195b;
  color: #29acfa;
}

.tel-text span {
  font-size: 32px;
  font-family: "Tenor Sans", sans-serif;
  color: #1f195b
}

.head_contents {
  display: flex;
  gap: 0 40px;
  align-items: center;
}

#gNavi ul {
  display: flex;
  gap: 0 40px;
}

#gNavi ul li {
  line-height: 1;
  position: relative;
  font-size: 0;
}

#gNavi ul a {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: #000;
  font-size: 18px;
  transition: 0.7s;
}

#gNavi ul .active a {
  color: #29acfa;
  line-height: 1;
}

#gNavi ul a:hover {
  color: #29acfa;
  line-height: 1;
}

#gNavi ul .active a span {
  line-height: 1;
}

#gNavi ul .active::after {
  width: 100%;
  background-color: #29acfa;
  height: 1px;
  position: absolute;
  content: '';
  bottom: -15px;
  display: block;
}

#gNavi ul li {
  transition: 0.7s;
}

#gNavi ul li::after {
  content: "";
  /* 常に生成しておく ←重要 */
  position: absolute;
  left: 0;
  bottom: -15px;
  display: block;
  height: 1px;
  width: 0;
  /* 初期値 */
  background-color: #29acfa;
  transition: width .7s ease, background-color .7s ease;
}

#gNavi ul li:hover::after {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: transform 0.3s ease;
  transform: translateY(0);
  overflow: hidden;
}

.header.hide {
  transform: translateY(calc(-100% - var(--header-top-margin)));
}

@media (max-width: 1600px) {

  #header .container-fluid {
    padding-left: min(2.5vw, 50px);
    padding-right: min(2.5vw, 50px);
  }

  .logo-mark {
    width: min(calc(50px + (71 - 50) * (100vw - 992px) / (1600 - 992)),
        71px);
  }

.logo .logo-text {
    font-size: min(calc(24px + (40 - 24) * (100vw - 992px) / (1600 - 992)),
        40px);
    letter-spacing: 0;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
  }

  #header .row-head {
    display: flex;
    padding: 0 min(calc(20px + (50 - 20) * (100vw - 992px) / (1600 - 992)),
        50px);
    height: min(calc(85px + (100 - 85) * (100vw - 992px) / (1600 - 992)),
        100px);
  }

  .head_contents {
    gap: 0 min(calc(20px + (40 - 20) * (100vw - 992px) / (1600 - 992)),
        40px);
  }


  #gNavi ul {
    display: flex;
    gap: 0 20px;
  }

  #gNavi ul a {
    font-size: min(calc(15px + (18 - 15) * (100vw - 992px) / (1600 - 992)),
        18px);
  }

  .tel-box .tel-icon {
    font-size: min(calc(15px + (20 - 15) * (100vw - 992px) / (1600 - 992)),
        20px);
    width: min(calc(30px + (30 - 15) * (100vw - 992px) / (1600 - 992)),
        40px);
    height: min(calc(30px + (30 - 15) * (100vw - 992px) / (1600 - 992)),
        40px);
  }

  .tel-text span {
    font-size: min(calc(22px + (32 - 22) * (100vw - 992px) / (1600 - 992)),
        32px);
  }
}

@media (max-width: 1150px) {
  #header .row-head {
    height: 85px;
    padding: 0 20px;
  }

  .tel-box {
    display: none;
  }

  #gNavi {
    display: none;
  }

  .logo-mark {
    width: 50px
  }

.logo .logo-text {
    font-size: 24px;
  }

}

@media (max-width: 786px) {
  :root {
    --header-top-margin: 20px;
  }

  #header .row-head {
    height: 75px;
  }
}

/* =======================================
タイトル
======================================== */
.area-ttl-box h3 {
  font-size: 24px;
  color: #0a114c;
  font-weight: 700;
  line-height: 1;
  margin-top: 10px;
}

.area-ttl-box .ttl-en {
  display: table;
  line-height: 1;
  font-size: 64px;
  letter-spacing: 0;
  background: linear-gradient(to right, #1f195b 0%, #29acfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Safari/Chrome */
  color: transparent;
  /* ほかブラウザ用の保険 */
  font-family: "Tenor Sans", sans-serif;
}

@media (max-width: 768px) {
  .area-ttl-box h3 {
    font-size: 20px;
  }

  .area-ttl-box .ttl-en {
    font-size: 50px;
  }

}

/* =======================================
詳しく見るボタン
======================================== */
.more-btn {
  margin-top: 50px;
  display: flex;
  gap: 0 20px;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  font-family: "Tenor Sans", sans-serif;
  transition: 0.7s;
}



.more-btn .more-text {
  line-height: 1;
  padding-bottom: 7px;
  font-size: 24px;
  transition: 0.7s;
  color: var(--navy-color);
  border-bottom: 1px solid var(--navy-color);
}

.more-btn:hover .more-text {
  color:var(--blue-color);
  border-bottom: 1px solid var(--blue-color);
}

.more-btn .arrow {
  width: 60px;
  color: var(--blue-color);
  height: 60px;
  display: flex;
  font-size: 24px;
  justify-content: center;
  align-items: center;
  transition: 0.7s;
  background-color: var(--navy-color);
}

.more-btn:hover .arrow {
  background-color: var(--blue-color);
}

.more-btn:hover i {
  color:#fff;
}

@media (max-width: 786px) {
  .more-btn {
    margin-top: 40px;
    display: flex;
    gap: 0 10px;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    font-family: "Tenor Sans", sans-serif;
  }

  .more-btn .more-text {
    line-height: 1;
    padding-bottom: 7px;
    font-size: 20px;
    color: var(--navy-color);
    border-bottom: 1px solid var(--navy-color);
  }

  .more-btn .arrow {
    width: 45px;
    color: var(--blue-color);
    height: 45px;
    display: flex;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    background-color: var(--navy-color);
  }
}

/* =======================================
footer
======================================== */
#footer {
  padding: 100px 0;
  background-color: var(--navy-color);
}

#footer .row {
  display: flex;
  align-items: flex-end;
}

#footer .logo h2 {
  color: #fff;
  letter-spacing: 0;
  font-size: 40px;
}

.footer-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 0 40px;
}

.footer-nav ul a {
  color: #fff;
  font-size: 18px;
  transition: 0.7s;
}

.footer-nav ul li:hover a{
  color:var(--blue-color)
}

.address {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
}

.address-mark {
  font-size: 18px;
  color: #fff;
  margin-left: 10px;
}

.copy {
  margin-top: 80px;
  text-align: right;
  color: #fff;
  font-size: 14px;
}

#pagetop {
  position: fixed;
  bottom: 9px;
  right: 9px;
  z-index: 9999;
  width: 50px;
}

@media (max-width: 1500px) {
  #pagetop img {
    width: 40px;
  }

  #footer .logo h2 {
    color: #fff;
    letter-spacing: 0;
    font-size: min(calc(24px + (40 - 24) * (100vw - 992px) / (1500 - 992)),
        40px);
  }

  .footer-nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 0 min(calc(24px + (40 - 24) * (100vw - 992px) / (1500 - 992)),
        40px);
  }

  .footer-nav ul a {
    color: #fff;
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .address {
    margin-top: min(calc(24px + (40 - 24) * (100vw - 992px) / (1500 - 992)),
        40px);
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }
  .address a span {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }
}

@media (max-width: 991px) {
  .address {
    text-align: center;
  }

  .footer-nav {
    margin-top: 30px;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px min(calc(24px + (40 - 24) * (100vw - 992px) / (1500 - 992)), 40px);
  }

  .copy {
    margin-top: 80px;
    text-align: right;
    color: #fff;
    font-size: 12px;
    text-align: center;
  }

  #footer .logo {
    display: table;
    margin: 0 auto;
  }

  #footer .logo h2 {
    color: #fff;
    letter-spacing: 0;
    font-size: 24px
  }

  #footer .logo-mark {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

}

@media (max-width: 480px) {
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 10px;
    /* 行・列の隙間 */
    max-width: 300px;
    /* 3列分の幅を固定（100px×3 + gap分） */
    margin: 0 auto;
    /* 中央寄せ */
  }

  .footer-nav ul li {
    flex: 0 0 calc((100% - 20px) / 3);
    /* gap 10px × 2列分 */
    text-align: center;
  }

}

/* =======================================
SPMENU
======================================== */

.openbtn {
  position: fixed;
  right: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 1px;
  display: none;
  background-color: var(--blue-color);
  transform: translate3d(0, 0, 0);
  z-index: 9999;
}

.openbtn.active {
  border: 1px solid #fff;
}

.openbtn {
  cursor: pointer;
  margin-left: 0;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 1.4rem;
  height: 2px;
  background-color: #fff;
}

.openbtn span:nth-of-type(1) {
  top: 8px;
  left: 8px;
  width: 35px;
}

.openbtn span:nth-of-type(2) {
  top: 17px;
  left: 8px;
  width: 35px;
}

.openbtn span:nth-of-type(3) {
  top: 26px;
  left: 8px;
  width: 35px;
}

.openbtn.active span:nth-of-type(1) {
  top: 12px;
  width: 35px;
  left: 8px;
  background-color: #fff;
  transform: translateY(5px) rotate(-160deg);
}

.openbtn.active span:nth-of-type(3) {
  top: 22px;
  left: 8px;
  width: 35px;
  background-color: #fff;
  transform: translateY(-5px) rotate(160deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active p {
  color: #fff;
}

.overlay-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -280px;
  width: 280px;
  color: #fff;
  text-align: left;
  background-color: var(--navy-color);
  transition: transform 0.5s ease;
  overflow-y: auto;
  z-index: 9900;
  padding-bottom: 50px;
}

.overlay-menu-inner {
  position: relative;
  height: 100%;
  padding: 100px 20px 20px;
}

.spNav-top-01 ul li {
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.spNav-top-01 ul {
  width: 100%;
}

.spNav-top-01 ul li:nth-child(n+2) {
  margin-top: 22px;
}

.sp-nav-copy {
  margin-top: 60px;
  padding-bottom: 80px;
  color: #fff;
  font-size: 12px;
}

.overlay-menu-inner .fa-angle-right {
  padding-right: 5px;
}

.overlay-menu .tel {
  font-size: 0;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  display: flex;
  gap: 0 10px;
  line-height: 1;
  color: var(--blue-color);
  font-family: "Tenor Sans", sans-serif;
  align-items: center;
  margin-top: 30px;
}

.overlay-menu .tel-text {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-left: 5px;
  padding: 0;
}

.overlay-menu .tel-icon {
  width: 30px;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.overlay-menu .tel a {
  display: block;
  font-size: 0;
  line-height: 1;
}

.overlay-menu {
  display: block;
  opacity: 0;
  left: 0;
  top: 0;
  transition: 0.7s;
  position: fixed;
  overflow: auto;
  width: 100%;
  height: 100%;
  z-index: 1001;
  pointer-events: none;
  z-index: 1000;
}

.overlay-menu.active {
  opacity: 1;
  background: rgba(31, 25, 91, 0.9);
  pointer-events: all;
}

.overlay-menu-inner {
  position: relative;
  height: 100%;
  padding: 150px 28px 20px;
}

.spNav-top-01 ul li {
  border-bottom: 2px solid #fff;
}

.spNav-top-01 ul li a {
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right top 4px;
  font-weight: 700;
  display: block;
  font-size: 18px;
  color: #fff;
  width: 100%;
  line-height: 1;
}

.spNav-top-01 ul {
  width: 100%;
}

.spNav-top-01 ul li:nth-child(n+2) {
  margin-top: 25px;
}

.sp-nav-copy {
  margin-top: 60px;
  color: #fff;
  font-size: 12px;
}


@media (max-width: 1150px) {
  .openbtn {
    top: 43px;
    right: min(5vw, 100px);
    display: block;
  }

  .openbtn p {
    font-size: 11px;
    line-height: 1;
    text-align: center;
    color: #fff;
    padding-left: 1px;
    font-weight: 700;
    margin-top: 34px;
  }
}

@media (max-width: 786px) {
  .openbtn {
    top: 31px;
    right: min(5vw, 100px);
    display: block;
  }

}

@media (max-width: 480px) {
  .openbtn {
    top: 31px;
    right: min(5.5vw, 110px);
    display: block;
  }
}

/* =======================================
コンテナ
======================================== */

@media (max-width: 1500px) {

  .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}


/* =======================================
グリッド模様
======================================== */
.grid {
  padding-top: 150px;
  padding-bottom: 400px;
  --cell: 20px;
  /* 1マスのサイズ */
  --color: rgba(0, 0, 0, 0.03);
  /* 線の色（薄め） */

  background-color: #fff;
  /* 背景色 */
  background-image:
    linear-gradient(var(--color) 1px, transparent 1px),
    linear-gradient(90deg, var(--color) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}

@media (max-width: 991px) {
  .grid {
    padding-top: 100px;
    padding-bottom: 180px;
    --cell: 20px;
    /* 1マスのサイズ */
    --color: rgba(0, 0, 0, 0.03);
    /* 線の色（薄め） */

    background-color: #fff;
    /* 背景色 */
    background-image:
      linear-gradient(var(--color) 1px, transparent 1px),
      linear-gradient(90deg, var(--color) 1px, transparent 1px);
    background-size: var(--cell) var(--cell);
  }

}

@media (max-width: 480px) {
  .grid {
    padding-top: 100px;
    padding-bottom: 120px;
    --cell: 20px;
    /* 1マスのサイズ */
    --color: rgba(0, 0, 0, 0.03);
    /* 線の色（薄め） */

    background-color: #fff;
    /* 背景色 */
    background-image:
      linear-gradient(var(--color) 1px, transparent 1px),
      linear-gradient(90deg, var(--color) 1px, transparent 1px);
    background-size: var(--cell) var(--cell);
  }

}



/* =======================================
無限ループ
======================================== */

.loop_box_2 {
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* ループ帯 */
.loop_box_2 .loop_words {
  position: absolute;
  bottom: 200px;
  /* 必要ならpx固定のまま */
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  gap: 40px;
  /* 余白も固定にするならメディアクエリ不要 */
  animation: loop-slide2 20s linear infinite;
  /* 念のため：横幅が狭くなっても要素が潰れないように */
  white-space: nowrap;
  /* （flexなので無くてもOKだが保険） */
}

/* 画像は“縮まない・高さ固定・横幅自動” */
.loop_box_2 .loop_words img {
  height: 77px;
  /* 固定サイズ */
  width: auto;
  flex: 0 0 auto;
  /* 縮小しない */
  max-width: none;
  /* globalの img{max-width:100%} を打ち消し */
  opacity: 0.8;
  display: block;
  object-fit: contain;
}

/* SP時に小さくしないなら下のメディアクエリは削除 or 無効化
@media print, screen and (max-width: 991px) {
  .loop_box_2 .loop_words { gap: 20px; bottom: 5vw; }
}
@media print, screen and (max-width: 1199px) {
  .loop_box_2 .loop_words img { max-height: 60px; }
}
@media print, screen and (max-width: 767px) {
  .loop_box_2 .loop_words img { max-height: 30px; }
}
*/

@keyframes loop-slide2 {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 991px) {

  .loop_box_2 .loop_words {
    position: absolute;
    bottom: auto;
    top: 650px;
    right: 0;
    left: 0;
    z-index: 1;
    display: flex;
    gap: 40px;
    animation: loop-slide2 20s linear infinite;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {

  .loop_box_2 .loop_words img {
    height: 57px;
    width: auto;
    flex: 0 0 auto;
    max-width: none;
    opacity: 0.8;
    display: block;
    object-fit: contain;
  }
}

@media (max-width: 575px) {

  .loop_box_2 .loop_words {
    position: absolute;
    bottom: auto;
    top: 530px;
    right: 0;
    left: 0;
    z-index: 1;
    display: flex;
    gap: 40px;
    animation: loop-slide2 20s linear infinite;
    white-space: nowrap;
  }
}

/* =======================================
お問い合わせ
======================================== */
/* 親は透明にして、上下の紫帯は擬似要素で敷く */
.contact-area {
  position: relative;
  padding: 0 100px;
  background: transparent;
  /* ←紫は外す */
  overflow: visible;
  margin-top: -200px;
}

/* 上下の帯（好きな高さに調整可） */
.purple-bg {
  position: absolute;
  left: 0;
  top: 200px;
  height: calc(100% - 200px);
  width: 100%;
  background-color: rgba(31,25,91,0.6);
  z-index: 0;
  /* 背面 */
}

/* グラデの箱を前面にして上下へ“はみ出し” */
.contact-bg {
  position: relative;
  z-index: 1;
  /* 帯より前 */
  margin: 0 auto;
  background: linear-gradient(to right, var(--navy-color) 0%, var(--navy-color) 55%, #29acfa 100%);
  padding: 64px 0 72px;
}

/* 中の .container はそのままでもOK。必要なら幅だけ再指定 */
.contact-area .container {
  max-width: 1100px;
  width: 100%;
  margin-inline: auto;
}

.contact-area .area-ttl-box {
  margin-top: -35px;
  position: relative;
  display: table;
  margin: 0 auto;
  z-index: 2;
}

.contact-area .area-ttl-box h3 {
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-top: 10px;
}

.contact-area .area-ttl-box .ttl-en {
  display: table;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0;
  background: linear-gradient(to right, #fff 0%, #29acfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: "Tenor Sans", sans-serif;
}

.contact-caption {
  margin: 50px auto;
  line-height: 1.9;
  max-width: 880px;
  color: #eaf6ff;
}

.contact-caption h4 {
  text-align: center;
  display: table;
  margin: 0 auto;
  border: 1px solid #fff;
  line-height: 1.5;
  color: #fff;
  padding: 5px 20px;
  font-size: 24px;
}

.contact-caption h4+h4 {
  margin-top: 10px;
}

.boxed {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 4px;
  backdrop-filter: saturate(120%);
}

.contact-lead {
  margin: 0 auto 40px;
  color: #fff;
  text-align: center;
  line-height: 2;
  font-size: 18px;
  letter-spacing: 0.07em;
}

/* cards */
.contact-cards {
  display: flex;
  gap: 40px;
  align-items: start;
  margin-top: 10px;
}

.contact-area .contact-card {
  background: rgba(255, 255, 255, .8);
  padding: 35px 0;
  height: 100%;
}

.card-label {
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  position: relative;
  margin-bottom: 40px;
}

.card-label::after {
  position: absolute;
  content: '';
  display: block;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  height: 1px;
  width: 40px;
  background-color: #333333;
}

.contact-area .tel-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact-area .tel-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy-color);
  color: var(--blue-color);
  font-size: 20px;
}

.contact-area .tel-number {
  font-family: "Tenor Sans", sans-serif;
  font-size: 40px;
  letter-spacing: 0;
  color: #2a336e;
  text-decoration: none;
  line-height: 1;
  font-weight: 700;
}

.btn-mail {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  padding: 12px 20px;
  text-align: center;
  color: #fff;
  width: 100%;
  gap: 0 10px;
  margin: 0 auto;
  background: var(--navy-color);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  position: relative;
  line-height: 1;
  transition: 0.7s;
  border: 1px solid var(--navy-color);
}

.btn-mail:hover {
  color:var(--navy-color);
  background-color: #fff;
}

.contact-bottom {
  padding: 200px 0;
}

.contact-bottom p {
  color: #fff;
  position: relative;
  display: table;
  margin: 0 auto;
  z-index: 2;
  font-size: 30px;
  text-align: center;
}

.contact-area .mail-icon {
  line-height: 1;
  display: table;
  font-size: 0;
  color: var(--blue-color);
}

.contact-area .mail-text {
  line-height: 1;
}

.contact-area .mail-icon .fa-envelope {
  font-size: 20px;
}
@media (max-width: 1200px) {

.contact-area {
    position: relative;
    padding: 0 40px;
    background: transparent;
    overflow: visible;
    margin-top: -200px;
}
}
@media (max-width: 991px) {
 .contact-area {
    margin-top: -80px;
} 
  .contact-cards {
    gap: 24px;
  }

  .tel-number {
    font-size: 24px;
  }
 .purple-bg {
  top: 80px;
  height: calc(100% - 80px);
} 
.contact-area .tel-number {
    font-family: "Tenor Sans", sans-serif;
    font-size: 30px;
    letter-spacing: 0;
    color: #2a336e;
    text-decoration: none;
    line-height: 1;
    font-weight: 700;
}
.card-label {
  letter-spacing: 0;
    font-weight: 500;
    text-align: center;
    font-size: 18px;
    position: relative;
    margin-bottom: 40px;
}
.contact-caption h4 {
    text-align: center;
    display: table;
    margin: 0 auto;
    border: 1px solid #fff;
    line-height: 1.5;
    color: #fff;
    padding: 5px 20px;
    font-size: 20px;
}
.contact-bottom {
    padding: 150px 0;
}
.contact-bottom p {
    color: #fff;
    position: relative;
    display: table;
    margin: 0 auto;
    z-index: 2;
    line-height: 2;
    font-size: 22px;
    text-align: center;
}
}

@media (max-width: 768px) {
  .sp {
    display: inline;
  }

  .contact-area {
    padding: 0;
  }
.contact-area {
        margin-top:0;
    }
  .contact-bg {
    padding: 48px 0 56px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-caption,
  .contact-lead {
    padding-inline: 0;
  }
  .contact-card {
    border: 1px solid var(--navy-color);
  }
  .contact-lead {
    margin: 0 auto 40px;
    color: #fff;
    text-align: center;
    line-height: 2;
    font-size: 16px;
    letter-spacing: 0.07em;
}
.contact-caption h4 {
    text-align: center;
    display: table;
    margin: 0 auto;
    border: 1px solid #fff;
    line-height: 1.5;
    letter-spacing: 0;
    color: #fff;
    padding: 5px 10px;
    font-size: 17px;
}
.contact-bottom {
    padding: 100px 40px;
}

}
@media (max-width: 480px) {
  .contact-caption {
    margin: 40px auto;
    max-width: 880px;
}
  .contact-lead {
    margin: 0 auto 40px;
    color: #fff;
    text-align: center;
    line-height: 2;
    font-size: 14px;
    letter-spacing: 0.07em;
}
.contact-caption h4 {
    text-align: center;
    display: table;
    margin: 0 auto;
    border: 1px solid #fff;
    line-height: 1.5;
    letter-spacing: 0;
    color: #fff;
    padding: 5px 5px;
    font-size: 14px;
}
.contact-bottom {
    padding: 80px 30px;
}
.contact-bottom p {
    color: #fff;
    position: relative;
    display: table;
    margin: 0 auto;
    z-index: 2;
    line-height: 2;
    font-size: 16px;
    text-align: center;
}
}