@charset "utf-8";

/* --------------- START Variable ------------------- */

:root {
  --primary-color: #006cb8;
  --secondary-color: #00afec;
  --accent-color: #006fb4;
  --white-color: #fff;
  --black-color: #231815;
  --gray-color: #878d90;
  --yellow-color: #fff100;
}

/* --------------- END Variable  ------------------- */

/* --------------- START Common ------------------- */

html {
  font-family: "ヒラギノ角ゴ Pro W3", "MS Ｐゴシック", sans-serif;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  font-size: calc(1000vw / 1920);

  @media screen and (max-width: 768px) {
    font-size: calc(1000vw / 768);
  }
}

img {
  width: 100%;
}

li {
  list-style: none;
}

.top {
  text-align: center;
}

.top-lead {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.top-title {
  font-size: 4rem;
  color: var(--white-color);
  font-weight: bold;
  line-height: 1.3;

  @media screen and (max-width: 768px) {
    font-size: 2.6rem;
  }
}

.section-inner {
  padding: 10rem 10rem 12rem;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    padding: 10rem 3rem 12rem;
  }
}

/* --------------- END Common ------------------- */

/* --------------- START Header ------------------- */

.header {
  background-color: var(--white-color);
  width: 100%;
  margin: 0 auto;
}

.header__wrapper {
  padding: 3rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media screen and (max-width: 768px) {
    padding: 2rem 3rem;
    flex-direction: column;
    gap: 2rem;
  }
}

.header__logo {
  width: 50rem;

  @media screen and (max-width: 768px) {
    width: 40rem;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-btn-link {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white-color);
  font-size: 3rem;
  padding: 1rem 2rem;
  text-decoration: none;
  cursor: pointer;

  @media screen and (max-width: 768px) {
    font-size: 2.4rem;
  }
}

.header__nav-btn-link:hover {
  opacity: 0.9;
}

.header__nav-tel {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.header__nav-tel-text {
  color: var(--gray-color);
  font-size: 1.6rem;
}

.header__nav-tel-number {
  font-size: 4.6rem;
  text-decoration: none;
  color: var(--black-color);
}

.header__nav-tel-number small {
  font-size: 1.6rem;
}

/* --------------- END Header ------------------- */

/* --------------- START Main ------------------- */

/* kv */

.kv {
  width: 100%;
  background: linear-gradient(
    -60deg,
    var(--secondary-color) 0%,
    var(--secondary-color) 5%,
    var(--primary-color) 5%,
    var(--primary-color) 88%,
    var(--secondary-color) 88%,
    var(--secondary-color) 100%
  );
  height: 76rem;
  position: relative;
}

.kv-wrapper {
  padding: 1rem 10rem;

  @media screen and (max-width: 768px) {
    padding: 30rem 3rem;
  }
}

.kv-wrapper__top {
  text-align: center;
}

.kv-wrapper__top-lead {
  font-size: 3.8rem;
  color: var(--white-color);
  margin-bottom: 2rem;

  .lead-yellow {
    font-size: 5.8rem;
    color: var(--yellow-color);
  }
}

.kv-wrapper__catch {
  font-size: 7.4rem;

  @media screen and (max-width: 768px) {
    font-size: 5rem;
  }
}

.kv-tag {
  position: absolute;
  top: 0;
  left: 5rem;
  background-color: var(--black-color);
  padding: 5rem 7rem;
  clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);

  @media screen and (max-width: 768px) {
    left: 0rem;
  }

  p {
    font-size: 5.5rem;
    color: var(--white-color);
    text-align: center;
    line-height: 1.4;

    span {
      color: var(--secondary-color);
      font-weight: bold;
    }
  }
}

.kv-icon {
  position: absolute;
  background-color: var(--white-color);
  padding: 4rem;
  border-radius: 50%;
  top: 11rem;
  right: 16rem;

  @media screen and (max-width: 768px) {
    top: 3rem;
    right: 3rem;
  }

  p {
    color: var(--black-color);
    font-size: 3rem;
    text-align: center;
    line-height: 1.2;

    @media screen and (max-width: 768px) {
      font-size: 3.4rem;
    }
  }

  span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 6rem;
  }
}

.heading {
  width: 70%;
  margin: -24rem auto 0;
  position: sticky;
  z-index: 1;
  background-image: url(../image/heading.jpg);
  background-size: cover;
  background-position: center -14rem;
  padding: 4rem 22rem 46rem;

  @media screen and (max-width: 768px) {
    width: 94%;
    margin: -30rem auto 0;
    padding: 22rem 3rem 26rem;
    background-position: center 20rem;
  }
}

.heading__block-text {
  font-size: 3rem;
  color: var(--white-color);
  background-color: var(--black-color);
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* service */

.service {
  width: 100%;
  background: linear-gradient(
    -60deg,
    var(--primary-color) 5%,
    var(--primary-color) 90%,
    var(--secondary-color) 90%,
    var(--secondary-color) 100%
  );
  position: relative;
}

.service::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 34rem;
  background-color: var(--white-color);
}

.service-wrapper {
  position: relative;
  z-index: 1;
}

.service-wrapper__block {
  margin-top: 6rem;
  border: 2px solid var(--secondary-color);
  background-color: var(--white-color);
  border-radius: 8rem;
  padding: 12rem 8rem 10rem;
  box-shadow: 1px 1px 10px 2px var(--gray-color);

  @media screen and (max-width: 768px) {
    padding: 6rem 2rem 6rem;
    border-radius: 4rem;
    box-shadow: 1px 1px 4px var(--gray-color);
  }
}

.service-wrapper__grid {
  width: 100%;
  margin-top: 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 2rem;
  column-gap: 6rem;

  @media screen and (max-width: 768px) {
    margin-top: 4rem;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

.service-wrapper__grid-item-text {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

/* reason */

.reason {
  width: 100%;
  background: linear-gradient(
    -60deg,
    var(--white-color) 0%,
    var(--white-color) 37%,
    var(--primary-color) 37%,
    var(--primary-color) 100%
  );
  position: relative;
}

.reason::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32rem;
  background-color: var(--white-color);
}

.reason-wrapper {
  padding: 10rem 0 6rem 10rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  @media screen and (max-width: 768px) {
    padding: 10rem 0 12rem 3rem;
  }
}

.reason-wrapper__block {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.reason-wrapper__block-item {
  display: flex;
  background-color: var(--white-color);
  padding: 0;
  height: 50rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.reason-wrapper__block-item-left {
  flex: 4;
  background: linear-gradient(
    -60deg,
    var(--white-color) 0%,
    var(--white-color) 88%,
    var(--secondary-color) 88%,
    var(--secondary-color) 100%
  );

  @media screen and (max-width: 768px) {
    background: linear-gradient(
      -70deg,
      var(--white-color) 0%,
      var(--white-color) 94%,
      var(--secondary-color) 88%,
      var(--secondary-color) 100%
    );
  }

  display: flex;
  align-items: center;
  gap: 4rem;
  padding-left: 8rem;

  @media screen and (max-width: 768px) {
    justify-content: center;
    padding: 3rem;
  }

  .reason-wrapper__block-item-left-number {
    font-size: 8rem;
    color: var(--secondary-color);
  }

  .reason-wrapper__block-item-left-text {
    font-size: 4rem;
    color: var(--black-color);
    line-height: 1.7;

    @media screen and (max-width: 768px) {
      font-size: 3.4rem;
    }
  }
}

.reason-wrapper__block-item-right {
  flex: 6;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;

  @media screen and (max-width: 768px) {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

.reason-wrapper__block-item-right-img {
  position: relative;
  top: -4rem;

  @media screen and (max-width: 768px) {
    top: -12rem;
  }
}

/* transfer */

.transfer {
  background-color: var(--white-color);
  width: 100%;
}

.transfer-wrapper__top {
  text-align: center;
}

.transfer-wrapper__top-lead {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.transfer-wrapper__top-block-title {
  color: var(--black-color);
  font-size: 6rem;

  @media screen and (max-width: 768px) {
    font-size: 4rem;
    margin-bottom: 4rem;
  }
}

.transfer-wrapper__top-block-text {
  font-size: 3rem;
  margin-top: 2rem;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.transfer-wrapper__img {
  margin-top: 6rem;
}

/* case */

.case {
  width: 100%;
  background-color: var(--primary-color);
}

.case-wrapper__block {
  display: flex;
  margin-top: 6rem;
  gap: 10rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.case-wrapper__block-item {
  flex: 1;
}

.case-wrapper__block-item-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--white-color);

  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

.case-wrapper__block-item-img {
  margin: 2rem 0;
}

.case-wrapper__block-item-text {
  text-indent: 2.6rem;
  font-size: 2.6rem;
  color: var(--white-color);

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* --------------- END Main ------------------- */

/* --------------- START Footer ------------------- */

footer {
  width: 100%;
  background-color: var(--white-color);
  margin: 0 auto;
}

.footer-wrapper {
  max-width: 132rem;
  padding: 12rem 10rem 6rem;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    padding: 12rem 3rem 6rem;
  }
}

.footer-wrapper__block {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: flex-start;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.footer-wrapper__block-logo {
  width: 60rem;
  margin-bottom: 0;
}

.footer-wrapper__block-text {
  display: flex;
  align-items: flex-start;

  > p {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black-color);
    margin-top: 0.6rem;

    @media screen and (max-width: 768px) {
      font-size: 20px;
    }
  }
}

.footer-wrapper__tel {
  margin: 5rem 0;
  text-align: center;

  > a {
    font-size: 4rem;
    color: var(--black-color);
    text-decoration: none;

    @media screen and (max-width: 768px) {
      font-size: 5rem;
    }
  }
}

.footer-wrapper__copyright {
  text-align: center;

  > small {
    font-size: 1.6rem;
    color: var(--gray-color);
  }
}

/* --------------- END Footer ------------------- */
