@charset "utf-8";

/*========================================================================*\

$root

\*========================================================================*/

/* -- ここはサイトごとに変更 -- */
:root {
  --max-width: 1000px;
}

@media screen and (max-width: 1000px) {
  :root {
    --inner-padding: 80px 20px;
    --max-width: 100%;
  }
}

/*========================================================================*\

$body

\*========================================================================*/

body,
html {
  height: 100%;
}

html {
  /*scroll-padding-top: 100px;*/
}

body {
  font-family: var(font-family);
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

#wrapper {
  overflow: hidden;
  position: relative;
}

.custody-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: var(--inner-padding);
  margin: 0 auto;
}

.custody-inner h1 {
  max-width: 650px;
  margin: 20px auto 60px auto;
}

.custody-inner .catch {
  font-size: 21px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
  color: #231815;
}

.custody-inner .box02 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.custody-inner .box02 li {
  width: 48.5%;
}

.custody-inner .box02 li:nth-child(n + 3) {
  margin-top: 20px;
}

.custody-inner h3 {
  font-size: 30px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
  color: #231815;
  font-weight: 500;
}

.custody-inner h3 .green {
  border-bottom: 3px solid #add159;
}

.custody-inner h3 .orange {
  border-bottom: 3px solid #f8b62d;
}

.custody-inner .list {
  width: 600px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.custody-inner .list li {
  font-size: 18px;
  margin-bottom: 15px;
  color: #231815;
}

.custody-inner .box02.photoBox {
  display: flex;
  justify-content: space-between;
}

.custody-inner .box02.photoBox figure {
  width: 60%;
}

.custody-inner .box02.photoBox p {
  width: 37%;
  font-size: 2px;
  line-height: 1.5;
  color: #231815;
}

.custody-inner .btn {
  margin: 50px auto 60px auto;
  width: 400px;
}

.custody-inner .btn a {
  align-items: center;
  background: #add159;
  background: linear-gradient(
    90deg,
    rgba(173, 209, 89, 1) 50%,
    rgba(248, 182, 45, 1) 50%
  );
  border-radius: 100px;
  color: #231815;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  font-weight: 500;
  justify-content: center;
  line-height: 1;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
  z-index: 1;
  transition: all 0.3s;
  padding: 5px;
}

.custody-inner .btn a span {
  background: #ffffff;
  width: 100%;
  display: block;
  padding: 20px 10px;
  border-radius: 100px;
}

.custody-inner .btn a:hover {
  opacity: 0.7;
  transform: translateY(-5px);
}

.custody-inner .btn a:hover::before {
  transform: scale(1, 1);
}

.custody-inner .btn a:after {
  border-right: solid 2px #231815;
  border-top: solid 2px #231815;
  content: "";
  height: 12px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
  width: 12px;
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  .custody-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .custody-inner h1 {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .custody-inner .catch {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .custody-inner .box02 {
    margin-bottom: 30px;
  }

  .custody-inner .box02 li:nth-child(n + 3) {
    margin-top: 15px;
  }

  .custody-inner h3 {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .custody-inner .list {
    width: 100%;
    margin: 0 auto 30px auto;
    display: block;
  }

  .custody-inner .list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .custody-inner .box02.photoBox {
    display: block;
  }

  .custody-inner .box02.photoBox figure {
    width: 100%;
    margin-bottom: 20px;
  }

  .custody-inner .box02.photoBox p {
    width: 100%;
    font-size: 18px;
  }

  .custody-inner .btn {
    margin: 30px auto 0 auto;
    width: 100%;
  }

  .custody-inner .btn a {
    font-size: 18px;
  }

  .custody-inner .btn a span {
    padding: 15px 10px;
  }

  .custody-inner .btn a:after {
    height: 10px;
    width: 10px;
  }
}
