@charset "UTF-8";

:root {
  --header-h: 68px;
  --main-color: #3fafff;
  --sub-color01: #3c4d7a;
  --sub-color02: #d5efff;
  --sub-color03: #e6f6ff;
  --color-brown: #64442e;
  --color-yellow: #ffd500;
  --color-orange: #ff733f;
}
@media screen and (min-width: 1024px) {
  :root {
    --header-h: 105px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font: inherit;
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

button {
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.wrap {
  overflow-x: hidden;
}

.inner {
  max-width: 1024px;
  margin-inline: auto;
  padding: 0 20px;
  p {
    margin-bottom: 1em;
    line-height: 1.8;
  }
}
.l-center{
  text-align: center;
}
.normal-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.6em;
}

.normal-list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.6em;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--main-color);
  border-radius: 50%;
}

.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .l-center{
    text-align: left;
  }
}

.header {
  width: 100%;
  height: var(--header-h);
  position: fixed;
  top: 0;
  z-index: 7;
  transition: 0.3s ease;
  background-color: var(--main-color);
  border-radius: 0 0 20px 0;
}

.header.is-scroll {
  position: fixed;
  padding-top: 2px;
}

.header--inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-right: 69px;
}

.header--logo {
  max-width: 230px;
  margin: 19px;
}

.header--logo a {
  display: block;
}

.header--ui {
  flex-shrink: 0;
}

.btn-language a {
  display: inline-block;
  font-size: 12px;
  padding: 3px 15px;
  border: 1px solid;
  border-radius: 22px;
}

.gnav {
  display: none;
}

.menu--btn {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 48px;
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 9;
}

.menu--btn .line-1,
.menu--btn .line-2 {
  display: block;
  width: 26px;
  height: 0;
  border: 1px solid;
  position: absolute;
  transition: transform 0.3s ease;
  color: #fff;
}

.menu--btn .line-1 {
  top: 19px;
}

.menu--btn .line-2 {
  bottom: 19px;
}

.menu--btn[aria-expanded="true"] {
  color: #fff;
}

.menu--btn[aria-expanded="true"] .line-1 {
  transform: translateY(5px) rotate(21deg);
}

.menu--btn[aria-expanded="true"] .line-2 {
  transform: translateY(-3px) rotate(-21deg);
}

@media screen and (min-width: 1024px) {
  .header {
    width: calc(100% - 50px);
    border-radius: 0 0 30px 0;
    padding: 0 38px;
    padding-top: 20px;
  }
  .header.is-scroll {
    --header-h: 74px;
  }
  .header--inner {
    align-items: center;
    padding-right: 0;
    align-items: center;
    justify-content: space-between;
  }

  .header--logo {
    max-width: 277px;
    margin: 0;
  }

  .gnav {
    display: revert;
    flex-shrink: 0;
  }
  .gnav--list-home {
    display: none;
  }
  .gnav--icon-list {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .menu--btn {
    display: none;
  }
}
@media screen and (min-width: 1340px) {
  .gnav--list-home {
    display: block;
  }
}

.menu {
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  z-index: 8;
}

.menu[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
}

.menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.menu--content {
  height: 100%;
  padding: 35px 50px 120px;
  color: #fff;
  background-color: var(--main-color);
  overflow-y: auto;
  position: relative;
  .menu-bear {
    width: 50%;
    margin: 0 auto 20px;
  }
}

.menu--inner {
  max-width: 430px;
  margin-inline: auto;
}

.menu--ui {
  position: absolute;
  top: 29px;
  right: 82px;
}

.menu--ui a {
  color: #000;
  background-color: #fff;
  border-color: #707070;
}

.menu--list {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.71;
  border-top: 1px solid;
  .gnav--icon-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-bottom: none !important;
  }
}

.menu--list a {
  display: inline-block;
  padding: 5px;
}

.menu--list .li-lv1 {
  padding: 10px 15px;
  border-bottom: 1px solid;
}

.menu--list .li-lv1 ul {
  display: grid;
  row-gap: 25px;
  margin-top: 25px;
  padding-bottom: 10px;
}

.menu--list .li-lv2 {
  padding-left: 5px;
}

.menu--list .li-lv2 a {
  padding-left: 26px;
  position: relative;
}

.menu--list .li-lv2 a::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: currentcolor;
  position: absolute;
  top: 50%;
  left: 0;
}

.gnav {
  letter-spacing: 0.05em;
}

.gnav--list {
  display: flex;
  gap: 10px;
  color: #fff;
  align-items: center;
}

.gnav--list a {
  display: inline-block;
  padding: 5px;
}

.gnav--list .li-lv1 {
  padding: 12px 0;
  position: relative;
  align-items: center;
}

.gnav--sub {
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;
  min-width: 173px;
  padding: 17px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  background-color: #000;
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.gnav--sub ul {
  display: grid;
  row-gap: 18px;
}

@media screen and (min-width: 1280px) {
  .gnav--list {
    gap: 30px;
  }
}

@media (any-hover: hover) {
  .gnav--list .li-lv1:hover .gnav--sub {
    opacity: 1;
    visibility: visible;
  }
}

.btn-scroll {
  display: none;
}

.footer {
  padding: 35px 20px;
  background-color: var(--sub-color01);
  position: relative;
}
.footer-img {
  position: absolute;
  width: 300px;
  top: -59px;
  right: 0;
  left: 0;
  margin: 0 auto;
  max-width: 400px;
}

.footer--inner {
  max-width: 430px;
  margin-inline: auto;
}

.footer--logo {
  max-width: 100px;
  margin-inline: auto;
  margin-bottom: 2em;
}

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

.footer--nav .menu--list {
  border-color: #d5d5d5;
}

.footer--nav .menu--list:not(:first-child) {
  border: none;
}

.footer--nav .menu--list .li-lv1 {
  border-color: #d5d5d5;
}
.footer--info {
  color: #fff;
  text-align: center;
  font-size: 14px;
}
.footer-tel {
  font-family: "M PLUS Rounded 1c", sans-serif;
  position: relative;
  font-size: 9vw;
  font-weight: bold;
  display: inline-block;
  padding: 0 0 0 40px;
  margin-top: 0.5em;
  a {
    text-decoration: none;
  }
  img {
    width: 7vw;
    position: absolute;
    top: 8px;
    left: 5px;
  }
}
.footer-icon {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: center;
  margin: 1em 0;
  .line {
    width: 36px;
  }
  .mail {
    width: 38px;
  }
}
.footer--copy {
  margin-top: 2em;
  font-size: 12px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 60px 10px 50px;
  }
  .footer-img {
    top: -78px;
    width: 400px;
  }
  .footer--inner {
    max-width: 669px;
  }

  .footer--logo {
    max-width: 170px;
  }
  .footer--nav {
    margin-top: 55px;
  }
  .footer--nav .menu--list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    align-items: start;
    justify-content: space-between;
    border: none;
  }
  .footer--nav .menu--list .li-lv1 {
    padding: 0;
    border: none;
  }
  .footer--nav .menu--list .li-lv1:first-child,
  .footer--nav .menu--list .li-lv1:nth-child(2) {
    grid-row: 1/-1;
  }
  .footer--nav .menu--list .li-lv1 ul {
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 0;
  }
  .footer--nav .low {
    display: grid;
    gap: 8px;
  }
  .footer--info {
    font-size: 16px;
  }
  .footer--copy {
    margin-top: 3em;
  }
  .footer-tel {
    font-size: 40px;
    padding: 0 0 0 40px;
    margin-top: 0.5em;
    img {
      width: 29px;
      position: absolute;
      top: 8px;
      left: 5px;
    }
  }
}

@media screen and (min-width: 1024px) {
  .footer {
    position: relative;
  }

  .btn-scroll {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: 117px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }

  .btn-scroll.is-scroll {
    opacity: 1;
    visibility: visible;
  }

  .btn-scroll:hover {
    right: 30px;
  }
}

.title-h2 {
  text-align: center;
  font-size: 38px;
  font-weight: bold;
  color: var(--sub-color01);
  width: 100%;
  &::before {
    content: url("../img/title_h2.svg");
    display: block;
  }
  margin-bottom: 2em;
}
span.marker {
  background: linear-gradient(transparent 50%, #fff500 50%);
  font-weight: bold;
}
.btn-normal {
  a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 320px;
    height: 50px;
    padding: 0 30px;
    margin: 0 auto;
    position: relative;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(
      90deg,
      #1c83cc 0%,
      #1c83cc 50%,
      #3fafff 50%,
      #3fafff 100%
    );
    background-size: 200% 100%;
    background-position: right;
    border-radius: 39px;
    transition: background-position 0.5s ease;
    &:hover {
      background-position: left;
      opacity: 1;
    }
    &:after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      right: 27px;
      width: 9px;
      height: 9px;
      margin: auto;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg);
      box-sizing: border-box;
    }
  }
}
@media screen and (max-width: 768px) {
  .title-h2 {
    font-size: 7vw;
    margin-bottom: 1.5em;
  }
}

.hero {
  background-image: url(../img/page/hero_bg.jpg);
  background-size: cover;
  height: 300px;
  position: relative;
  margin-bottom: 50px;
  h1.hero-ttl {
    font-size: 46px;
    font-weight: bold;
    color: #fff;
    padding-top: 165px;
    padding-left: 111px;
  }
  .hero-bear {
    position: absolute;
    width: 263px;
    right: 44px;
    bottom: -43px;
  }
}
@media screen and (max-width: 1024px) {
  .hero {
    h1.hero-ttl {
      font-size: 32px;
      padding-top: 151px;
      padding-left: 111px;
    }
    .hero-bear {
      position: absolute;
      width: 263px;
      right: 44px;
      bottom: -43px;
    }
  }
}
@media screen and (max-width: 768px) {
  .hero {
    height: 250px;
    display: flex;
    align-items: center;
    h1.hero-ttl {
      padding-top: 68px;
      padding-left: 40px;
    }
    .hero-bear {
      width: 149px;
      right: -9px;
      bottom: -20px;
    }
  }
}
