/* ----------------------------

共通項目

------------------------------*/

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "YuGothic", "Yu Gothic",
    sans-serif;
  color: #343434;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  background-color: #fff;
}

a {
  width: fit-content;
}

/* margin */
.mb160 {
  margin-bottom: 160px;
}
.mb120 {
  margin-bottom: 120px;
}
.mb100 {
  margin-bottom: 100px;
}
.mb80 {
  margin-bottom: 80px;
}
.mb60 {
  margin-bottom: 60px;
}
.mb40 {
  margin-bottom: 40px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb10 {
  margin-bottom: 10px;
}

.desc {
  font-size: 16px;
  line-height: 2;
}

.inner1 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  @media screen and (max-width: 1300px) {
    width: calc(100% - 100px);
  }
  @media screen and (max-width: 960px) {
    width: calc(100% - 40px);
  }
}

/* ----------------------------

ボタン

------------------------------*/
.to-top-btn {
  width: 74px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #ffe6d4;
  display: grid;
  place-items: center;
  position: fixed;
  bottom: 40px;
  right: 20px;
  transition: 0.2s all;
  padding: 23px;
}
.to-top-btn:hover {
  opacity: 0.8;
}

.flex {
  display: flex;
}

/* モバイル改行 */

.sp {
  display: none;
}

@media screen and (max-width: 667px) {
  .sp {
    display: block;
  }
}

.pc {
  display: block;
}

@media screen and (max-width: 667px) {
  .pc {
    display: none;
  }
}

/* ----------------------------

ヘッダー

------------------------------*/

.top {
  background-color: #ff6b00;
  height: 22px;
}

h1 {
  span {
    opacity: 0;
    position: relative;
    z-index: -999;
  }
}

.h-logo {
  display: block;
  margin: 10px auto 20px auto;
  width: fit-content;

  height: 70px;
  transition: all 0.2s;
  img {
    height: 100%;
  }
}
.h-logo:hover {
  opacity: 0.8;
}
h2 {
  font-size: 30px;
  padding-right: 90px;
  width: 50%;
}
.r-cont {
  width: 50%;
  .img {
    max-width: 405px;
  }
}
.box {
  padding: 30px 40px;
  background-color: #fffde8;
  width: fit-content;
}
.price {
  span {
    font-size: 30px;
    font-weight: 700;
  }
  span:first-child {
    margin-right: 40px;
  }
}

.t-or {
  color: #ff6b00;
}

ul {
  li {
    padding-left: 24px;
    position: relative;
  }
  li.il {
    font-weight: 700;
  }
  li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    width: 4px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #343434;
  }
}
.dots {
  padding-left: 24px;
  position: relative;
}

.dots::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 4px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #343434;
}
.noto {
  font-weight: 700;
}

.contact {
  .tel-area {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s;
    .tel-icon {
      width: 36px;
      img {
        width: 100%;
      }
    }
    .num {
      font-size: clamp(2.875rem, 2.4583rem + 0.6944vw, 3.125rem);
      color: #ff6b00;
      font-weight: 700;
    }
  }
  .tel-area:hover {
    opacity: 0.8;
  }
}

footer {
  padding: 78px 0 72px 0;
  background-color: #fffde8;
  .l-cont {
    width: 50%;
    .f-logo {
      transition: all 0.2s;
      height: 70px;
      display: block;
      img {
        height: 100%;
      }
    }
    .f-logo:hover {
      opacity: 0.8;
    }
    h3 {
      margin-bottom: 4px;
      font-size: 16px;
      font-weight: 700;
    }
    a {
      display: block;
    }
  }
  .r-cont {
    height: 300px;
  }
  small {
    font-size: 12px;
    width: fit-content;
    margin: 0 auto;
    display: block;
  }
}

/* ----------------------------

フェードインアニメーション

------------------------------*/

.fadeIn {
  transform: translate3d(0, 50px, 0);
  transition: 1.5s;
  opacity: 0;
}
.fadeIn.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
/* ----------------------------

固定フェードインアニメーション

------------------------------*/
.fadeIn-fixed {
  animation-name: fadeIn;
  animation-duration: 1.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 960px) {
  body {
    font-size: 14px;
  }
  .flex {
    flex-direction: column;
  }
  .inner1.il {
    display: contents;
  }

  h2 {
    padding-bottom: 20px;
    padding-right: 0;
    font-size: 20px;
    width: 100%;
  }
  .mb80 {
    margin-bottom: 40px;
  }
  .mb40 {
    margin-bottom: 20px;
  }
  .mb30 {
    margin-bottom: 15px;
  }
  .mb20 {
    margin-bottom: 10px;
  }
  .mb10 {
    margin-bottom: 5px;
  }
  .h-logo {
    margin: 5px auto;
    width: fit-content;
    height: 47px;
  }

  .r-cont {
    width: 100%;
    .img {
      max-width: 100%;
    }
  }
  .box {
    padding: 20px;
  }
  .price {
    span {
      font-size: 20px;
    }
    span:first-child {
      margin-right: 20px;
    }
  }

  .contact {
    .tel-area {
      gap: 10px;
      .icon {
        width: 24px;
      }
      .num {
        font-size: 34px;
      }
    }
  }
  .to-top-btn {
    width: 49px;
    padding: 15px;
  }

  footer {
    padding: 40px 0 35px 0;
    background-color: #fffde8;
    .l-cont {
      width: 100%;
      .f-logo {
        height: 47px;
      }
      h3 {
        font-size: 14px;
      }
    }
    .r-cont {
      height: 200px;
    }
    small {
      font-size: 8px;
    }
  }
}
