:root {
  --txt-color: #282828;
  --accent-color: #ff5a00;
  --sub-bg-color: #fbf7ef;
}

html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--txt-color);
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

header {
  background: #ffffff;
}

footer #footer_marquee {
  color: rgba(239, 232, 218, 0.502);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  font-family: "Poppins", "Noto Sans JP", serif;
}

footer #footer_contents_wrapper {
  background: #fbf7ef;
  position: relative;
}

footer #footer_contents_wrapper::before {
  content: "";
  display: block;
  background: #fbf7ef;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
}

footer #footer_contents_wrapper #footer_contact a {
  color: #FFFFFF;
  background: var(--accent-color);
  position: relative;
}

footer #footer_contents_wrapper #footer_contact a::before {
  content: "";
  border-radius: 50%;
  background: #FFFFFF;
  z-index: 2;
}

footer #footer_contents_wrapper #footer_contact a::after {
  content: "";
  background: url(/common/image/common/btn_o.png) no-repeat;
  z-index: 3;
}

footer #footer_contents_wrapper #footer_attention {
  color: rgba(40, 40, 40, 0.8);
}

footer #footer_contents_wrapper #footer_copyright {
  color: rgba(40, 40, 40, 0.5);
}

@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
    scroll-padding-top: 121px;
  }
  body {
    min-width: 1280px;
    letter-spacing: 0.08em;
  }
  .sp {
    display: none;
  }
  header {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    padding: 0 80px;
    border-bottom: 1px solid #dfdfdd;
  }
  header #header_name {
    font-size: 2.2rem;
    font-weight: 700;
  }
  header #header_navi > ul {
    display: flex;
    justify-content: flex-end;
    gap: 0 32px;
  }
  header #header_navi > ul > li a {
    text-decoration: none;
    color: var(--txt-color);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
  }
  header #header_navi > ul > li a#header_news_link {
    padding-right: 21px;
    background: url(/common/image/common/btn-link_o.png) no-repeat;
    background-position: center right;
    background-size: 14px auto;
  }
  footer #footer_marquee {
    display: flex;
    margin-top: 35px;
  }
  footer #footer_marquee span {
    padding-right: 0.5em;
    animation: 50s marquee 0s linear running infinite;
    font-size: 12rem;
    font-weight: 600;
    display: inline-block;
  }
  @keyframes marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
  }
  footer #footer_contents_wrapper {
    position: relative;
    margin-top: 61px;
    text-align: center;
    padding: 60px 0 85px;
  }
  footer #footer_contents_wrapper::before {
    height: 95px;
    top: -75px;
    border-radius: 50% / 100% 100% 0 0;
    z-index: -1;
  }
  footer #footer_contents {
    position: relative;
  }
  footer #footer_contents::before {
    content: "";
    background: url(/common/image/common/f-m_01.png) no-repeat;
    width: 398px;
    height: 89px;
    background-size: 531px 89px;
    background-position: right top;
    position: absolute;
    top: 252px;
    left: 0;
  }
  footer #footer_contents::after {
    content: "";
    background: url(/common/image/common/f-m_02.png) no-repeat;
    width: 350px;
    height: 106px;
    background-size: 459px 106px;
    background-position: left top;
    position: absolute;
    top: 305px;
    right: 0;
  }
  footer #footer_contents #footer_copy {
    width: fit-content;
    color: #282828;
    display: inline-block;
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1.36;
    letter-spacing: 0.1em;
    background: linear-gradient(155deg, #f89c6a 0%, #f47834 50%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  footer #footer_contents #footer_name {
    margin-top: 88px;
    font-size: 2rem;
    font-weight: 700;
  }
  footer #footer_contents #footer_address {
    margin-top: 14px;
    font-size: 1.4rem;
    line-height: 1.71;
  }
  footer #footer_contents #footer_tel {
    margin-top: 4px;
    font-size: 1.4rem;
  }
  footer #footer_contents #footer_contact a {
    margin: 30px auto 0;
    display: block;
    width: 400px;
    padding: 30px 35px 31px 0;
    text-align: center;
    border-radius: 45px;
    font-size: 2rem;
    font-weight: 600;
  }
  footer #footer_contents #footer_contact a::before {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  footer #footer_contents #footer_contact a::after {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 11px;
    background-size: 13px 11px;
  }
  footer #footer_contents #footer_attention {
    margin-top: 15px;
  }
  footer #footer_contents #footer_attention > li {
    font-size: 1.2rem;
    margin-top: 3px;
  }
  footer #footer_contents #footer_attention > li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_contents #footer_copyright {
    margin-top: 115px;
    font-size: 1.2rem;
    padding-right: 55px;
    text-align: right;
  }
  footer #footer_contents .image1 {
    position: absolute;
    z-index: 4;
    top: -147px;
    left: 8.05%;
    width: 112px;
  }
  footer #footer_contents .image2 {
    position: absolute;
    z-index: 4;
    top: -192px;
    left: 30.55%;
    width: 56px;
  }
  footer #footer_contents .image3 {
    position: absolute;
    z-index: 4;
    top: -200px;
    left: 51.31%;
    width: 82px;
  }
  footer #footer_contents .image4 {
    position: absolute;
    z-index: 4;
    top: -160px;
    left: 73.26%;
    width: 56px;
  }
  footer #footer_contents .image5 {
    position: absolute;
    z-index: 4;
    top: -175px;
    left: 88.88%;
    width: 26px;
  }
  footer #footer_contents .image6 {
    position: absolute;
    z-index: 4;
    top: -30px;
    left: 19.58%;
    width: 30px;
  }
  footer #footer_contents .image7 {
    position: absolute;
    z-index: 4;
    top: 33px;
    left: 6.8%;
    width: 54px;
  }
  footer #footer_contents .image8 {
    position: absolute;
    z-index: 4;
    top: 93px;
    left: 22.22%;
    width: 28px;
  }
  footer #footer_contents .image9 {
    position: absolute;
    z-index: 4;
    top: 82px;
    left: calc(22.22% + 28px + 28px);
    width: 31px;
  }
  footer #footer_contents .image10 {
    position: absolute;
    z-index: 4;
    top: 72px;
    left: 71.31%;
    width: 32px;
  }
  footer #footer_contents .image11 {
    position: absolute;
    top: 13px;
    left: 79.30%;
    width: 27px;
  }
  footer #footer_contents .image12 {
    position: absolute;
    top: -10px;
    left: 89.16%;
    width: 50px;
  }
  footer #footer_contents .image13 {
    position: absolute;
    top: 210px;
    left: 70.83%;
    width: 101px;
  }
  footer #footer_contents .image14 {
    position: absolute;
    top: 182px;
    left: 86.66%;
    width: 43px;
  }
  footer #footer_contents .image15 {
    position: absolute;
    top: 372px;
    left: 10.34%;
    width: 56px;
  }
  footer #footer_contents .image16 {
    position: absolute;
    top: 540px;
    left: 7.98%;
    width: 34px;
  }
  footer #footer_contents .image17 {
    position: absolute;
    top: 455px;
    left: 22.70%;
    width: 55px;
  }
  footer #footer_contents .image18 {
    position: absolute;
    top: 459px;
    left: 77.22%;
    width: 80px;
  }
}
