:root {
  --main-gradient-left: #0299e8;
  --main-gradient-right: #00e9ba;
  --main-gradient: to right, var(--main-gradient-left) 0%, var(--main-gradient-right) 100%;
  --main-bg-color: #ebf7fd;
  --main-light-blue: #029ae8;
  --main-icon-bg-color: to right, #e8f6fd, #e7fdf8;
  --main-icon-color: #375d70;
  --main-text-color: #282828;
  --main-subtext-color: #484848;
  --main-anchor-color: #029ae8;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--main-text-color);
  font-family: 'Noto Sans JP', sans-serif;
  padding: 0;
  margin: 0;
}

header,
footer {
  padding: 0;
  margin: 0;
}

header *,
footer * {
  margin: 0;
  padding: 0;
}

header ul,
footer ul {
  list-style: none;
}

header a,
footer a {
  text-decoration: none;
}

header img,
footer img {
  max-width: 100%;
  height: auto;
  display: inline;
  vertical-align: middle;
}

header #header_main {
  background: #ffffff;
}

footer {
  background: #223d45;
  color: #bbbbbb;
}

footer #footer_wrapper a {
  color: #ffffff;
}

#footer_contact {
  background: #01c1d1;
  color: #FFFFFF;
}

#footer_contact h2 {
  position: relative;
}

#footer_contact h2::before {
  content: "CONTACT";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ccfaf2;
}

#footer_contact .description {
  color: #fff44c;
}

#footer_contact .contact_list a {
  color: #282828;
  display: block;
  background: #FFFFFF;
}

.roboto {
  font-family: 'Roboto';
}

.f_gradient {
  background: linear-gradient(var(--main-gradient));
  color: var(--main-gradient-left);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marker {
  color: #029ae8;
  background: linear-gradient(0deg, #edf4f5 40%, transparent 40%);
}

#pan_list > span {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  padding: 0;
  margin: 0;
  gap: 0 5px;
}

#pan_list > span > span {
  display: flex;
  color: #585858;
}

#pan_list > span > span a {
  display: flex;
  color: var(--main-anchor-color);
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
  body {
    min-width: 1200px;
    font-size: 16px;
    letter-spacing: 0.008em;
  }
  :target {
    scroll-margin-top: 70px;
  }
  main a {
    transition: all .2s;
  }
  main a:hover {
    opacity: 0.7;
  }
  header {
    display: contents;
  }
  header #header_main {
    display: flex;
    position: sticky;
    border-bottom: 1px solid #f0f0f0;
    top: 0;
    z-index: 15;
    height: 70px;
    justify-content: space-between;
    font-size: 14px;
    padding-right: 280px;
  }
  header #header_main a {
    color: #484848;
  }
  header #header_logo {
    padding-left: 37px;
    display: flex;
    align-items: center;
    text-align: center;
  }
  header #header_logo a {
    transition: all .4s;
  }
  header #header_logo a:hover {
    opacity: 0.7;
  }
  header #header_logo span {
    display: block;
  }
  header #header_logo span.txt {
    font-weight: 600;
    margin-bottom: 5px;
  }
  header #header_navi {
    display: flex;
  }
  header #header_navi_wrapper {
    display: flex;
  }
  header #header_navi_wrapper > ul {
    display: flex;
    gap: 0 40px;
  }
  header #header_navi_wrapper > ul > li {
    display: flex;
  }
  header #header_navi_wrapper > ul > li.parent {
    position: relative;
  }
  header #header_navi_wrapper > ul > li.sp_link_area {
    display: none;
  }
  header #header_navi_wrapper > ul > li > a {
    display: flex;
    align-items: center;
    font-weight: 700;
    line-height: 1;
  }
  header #header_navi_wrapper > ul > li > a:hover {
    color: #24a7eb;
    transition: all .4s;
  }
  header #header_navi_wrapper > ul > li .sub_navi {
    position: absolute;
    top: 70px;
    left: 50%;
    padding-top: 13px;
    display: none;
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper {
    position: relative;
    background: #ffffff;
    white-space: nowrap;
    border-radius: 20px;
    box-shadow: 15px 25.981px 56px 0px rgba(205, 205, 205, 0.38);
    padding: 27px;
    transform: translateX(-50%);
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 13px 12px;
    border-color: transparent transparent #ffffff transparent;
    transform: translateX(-50%);
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper > ul > li {
    margin-top: 22px;
    padding-left: 22px;
    background: url(../image/base/menu_arrow_g.svg) no-repeat;
    background-position: left center;
    background-size: 11px auto;
    transition: all .2s;
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper > ul > li:hover {
    background: url(../image/base/menu_arrow.svg) no-repeat;
    background-position: 3px center;
    background-size: 11px auto;
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper > ul > li a {
    font-size: 14px;
    color: #484848;
    transition: all .2s;
  }
  header #header_navi_wrapper > ul > li .sub_navi .navi_wrapper > ul > li a:hover {
    color: #24a7eb;
    text-decoration: underline;
  }
  header #header_navi_wrapper > ul > li.parent.open .sub_navi {
    display: block;
  }
  header #header_contact_area {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
    height: 70px;
  }
  header #header_contact_area #header_contact {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    width: 240px;
    font-size: 16px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 2px;
    background-image: linear-gradient(90deg, #e8024e 0%, #e93100 100%);
    position: relative;
    box-sizing: border-box;
    transition: all .4s;
  }
  header #header_contact_area #header_contact:hover {
    opacity: 0.8;
  }
  header #header_contact_area #header_contact::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-right: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
  }
  #header_sub_navi {
    font-size: 13px;
    background: #f7f7f7;
    display: flex;
    justify-content: flex-end;
  }
  #header_sub_navi a {
    color: #484848;
  }
  #header_sub_navi > ul {
    display: flex;
    gap: 0 35px;
  }
  #header_sub_navi > ul > li {
    display: flex;
  }
  #header_sub_navi > ul > li a {
    display: flex;
    align-items: center;
    transition: all .4s;
  }
  #header_sub_navi > ul > li a:hover {
    color: #24a7eb;
  }
  #header_sub_navi #header_tel_area {
    display: flex;
    padding: 12px 45px 12px 35px;
  }
  #header_sub_navi #header_tel_area a {
    display: flex;
    gap: 0 7px;
  }
  #header_sub_navi #header_tel_area a .data {
    line-height: 1.1;
  }
  #header_sub_navi #header_tel_area a .data .tel_num {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
  }
  #header_sub_navi #header_tel_area a .data .business {
    font-size: 11px;
  }
  footer a {
    transition: all .26s;
  }
  footer a:hover {
    opacity: 0.6;
  }
  footer #footer_wrapper {
    padding: 100px 0;
    width: 1200px;
    margin: 0 auto;
    display: flex;
  }
  footer #footer_wrapper #footer_data {
    width: 520px;
  }
  footer #footer_wrapper #footer_data #footer_logo span {
    display: block;
  }
  footer #footer_wrapper #footer_data #footer_logo span.txt {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
  }
  footer #footer_wrapper #footer_data .address {
    margin-top: 53px;
    font-size: 13px;
    line-height: 1.84;
  }
  footer #footer_wrapper #footer_data #footer_sns_link {
    display: flex;
    margin-top: 43px;
    gap: 0 10px;
  }
  footer #footer_wrapper #footer_data #footer_sns_link li {
    display: flex;
  }
  footer #footer_wrapper #footer_data #footer_sns_link li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #384f58;
    border-radius: 50%;
    line-height: 1;
  }
  footer #footer_wrapper #footer_data #footer_copyright {
    margin-top: 80px;
    font-size: 12px;
  }
  footer #footer_wrapper #footer_link {
    display: flex;
  }
  footer #footer_wrapper #footer_link .link_area {
    font-size: 14px;
  }
  footer #footer_wrapper #footer_link .link_area:nth-of-type(1) {
    width: 240px;
  }
  footer #footer_wrapper #footer_link .link_area:nth-of-type(2) {
    width: 250px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li {
    margin-top: 30px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li > a {
    font-size: 18px;
    font-weight: 600;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_list > li {
    margin-top: 20px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_list > li:nth-of-type(1) {
    margin-top: 24px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_sub_list > li {
    margin-top: 20px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_sub_list > li:nth-of-type(1) {
    margin-top: 24px;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_sub_list > li > a {
    padding-left: 14px;
    position: relative;
  }
  footer #footer_wrapper #footer_link .link_area > ul > li .sub_sub_list > li > a::before {
    content: "";
    width: 5px;
    height: 1px;
    background: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 0;
  }
  #footer_contact {
    padding: 115px 0 80px;
  }
  #footer_contact h2 {
    font-size: 30px;
    letter-spacing: 0.08em;
    text-align: center;
  }
  #footer_contact h2::before {
    top: -35px;
    font-size: 21px;
    letter-spacing: 0.04em;
  }
  #footer_contact .description {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
  }
  #footer_contact .suggest {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
  }
  #footer_contact .suggest .txt {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 2;
    text-align: center;
  }
  #footer_contact #footer_contact_list_area {
    width: 1200px;
    margin: 27px auto 0;
    box-sizing: border-box;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 20px;
    position: relative;
  }
  #footer_contact #footer_contact_list_area .result {
    width: 195px;
    height: 195px;
    position: absolute;
    top: -210px;
    right: 60px;
    box-sizing: border-box;
    background: url(../image/base/balloon_ylw.svg) no-repeat;
    background-size: 100%;
    text-align: center;
    padding-top: 47px;
    color: #614811;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
  }
  #footer_contact #footer_contact_list_area .result .num {
    font-size: 48px;
    font-weight: 800;
  }
  #footer_contact #footer_contact_list_area .result .unit {
    font-size: 24px;
  }
  #footer_contact #footer_contact_list_area .result .over {
    font-size: 16px;
  }
  #footer_contact #footer_contact_list_area .contact_list {
    display: flex;
    gap: 0 20px;
  }
  #footer_contact #footer_contact_list_area .contact_list > li {
    display: flex;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a {
    display: flex;
    width: 360px;
    border-radius: 70px;
    position: relative;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper {
    display: flex;
    align-items: center;
    padding: 20px 40px 20px 60px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 7;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper .icon {
    margin-right: 23px;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper .txt {
    font-size: 18px;
    font-weight: 500;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper .tel_txt {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper .num {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper::after {
    content: "";
    top: 50%;
    right: 27px;
    position: absolute;
    border-top: 2px solid var(--main-gradient-left);
    width: 7px;
    height: 5px;
    transform: rotate(45deg) translateY(-50%);
    border-image: linear-gradient(var(--main-gradient));
    border-image-slice: 1;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a .btn_wrapper::before {
    content: "";
    top: 50%;
    right: 27px;
    position: absolute;
    border-right: 2px solid var(--main-gradient-left);
    width: 6px;
    height: 6px;
    transform: rotate(45deg) translateY(-50%);
    border-image: linear-gradient(to top, var(--main-gradient-left) 0%, var(--main-gradient-right) 100%);
    border-image-slice: 1;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(var(--main-gradient));
    content: "";
    z-index: 1;
  }
  #footer_contact #footer_contact_list_area .contact_list > li a::after {
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    top: 2px;
    left: 2px;
    border-radius: inherit;
    background: #FFFFFF;
    content: "";
    z-index: 2;
  }
}
