@charset "UTF-8";

/* ================================================  
 リセットの記述
================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
p {
  margin: 0;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'],
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

@font-face {
  font-family: 'NotoSansJP';
  font-style: normal;
  src: url('../fonts/NotoSansJP-Variable.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: 0.04em;
  max-height: 100vh;
  overflow-y: scroll;
  background: url('../img/bg.webp') no-repeat center center;
  background-attachment: fixed;
}

.md_only {
  display: none;
}

.ly_fv {
  position: relative;
}

.ly_fv a {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: calc(100% - 40px);
  max-width: 460px;
  transform: translateX(-50%);
}

.ly_cta {
  position: relative;
}

.ly_cta .el_btnLine {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: calc(100% - 40px);
  max-width: 460px;
  transform: translateX(-50%);
}

.ly_cta .el_phoneLink {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.el_btnLine {
  max-width: 460px;
  transition: opacity 0.3s;
}

.el_btnLine:hover {
  opacity: 0.7;
}

.el_floatBtn {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 500px;
  z-index: 100;
  padding-inline: 5%;
  margin-bottom: 2%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.el_floatBtn.is-visible {
  opacity: 1;
  visibility: visible;
}

.el_floatBtn img {
  width: 100%;
  height: auto;
  display: block;
}

.mb-10 {
  margin-bottom: 40px;
}

.ly_mainContent {
  background: #fff;
  width: fit-content;
  max-width: 500px;
  margin-inline: auto;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.ly_mainContent div {
  scroll-margin-top: 60px;
}

@media screen and (min-width: 768px) {
  main {
    max-height: none;
    overflow: visible;
    position: relative;
  }

  .ly_mainContent {
    max-width: 500px;
    margin-inline: auto;
  }

  .ly_rightSide ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-bottom: 40px;
  }

  .el_phoneNumber {
    margin-top: 40px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .el_phoneNumber a {
    color: #00399d;
    font-size: 24px;
  }
}

@media screen and (min-width: 1024px) {
  .sm_only {
    display: none !important;
  }

  .md_only {
    display: flex !important;
  }

  .ly_leftSide {
    position: fixed;
    width: calc(50vw - 250px);
    left: 0;
    top: 0;
    padding-inline: 20px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ly_rightSide {
    position: fixed;
    width: calc(50vw - 250px);
    right: 0;
    top: 0;
    padding-inline: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
  }
}