@charset "UTF-8";

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: 2;
  color: var(--color-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;

  @media screen and (min-width: 641px) {
    min-width: var(--width-content-base);
  }
}

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

a {
  color: #333333;
  text-decoration: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
a:link {
  color: #333333;
  text-decoration: none;
}
a:visited {
  color: #333333;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/**
 * hero
 */
.hero {
  background-image: linear-gradient(to right, #FAFAFA 0, #FAFAFA 50%, var(--color-000) 51%, var(--color-000) 100%);

  @media screen and (max-width: 640px) {
    background-image: none;
  }
}

.hero--container {
  background-image: url("../img/hero.png");
  background-size: var(--width-content-max) auto;
  background-position: top center;
  background-repeat: no-repeat;

  @media screen and (max-width: 640px) {
    background-image: url("../img/hero_sp.png");
    background-size: 100% auto;
  }
}

.hero--inner {
  display: flex;
  align-items: center;
  gap: 56px;
  height: 334px;
  font-weight: 600;
  font-size: var(--font-size-xl);

  @media screen and (max-width: 640px) {
    padding-top: calc(100% * 2 / 3);
    flex-direction: column;
    height: auto;
    gap: 16px;
  }
}

.hero--title {
  & > strong {
    line-height: 1.4;
  }

  & > span {
    position: relative;
    color: var(--color-primary);
    
    &::before {
      display: block;
      position: absolute;
      top: -0.1em;
      left: 50%;
      transform: translateX(-50%);
      width: 6px;
      height: 6px;
      background-color: var(--color-primary);
      border-radius: 50%;
      content: "";
    }
  }

  @media screen and (max-width: 640px) {
    order: 2;
    text-align: center;

    @media screen and (max-width: 640px) {
      & > span {
        &::before {
          width: 4px;
          height: 4px;
        }
      }
    }
  }

}

.hero--title_image {
  @media screen and (max-width: 640px) {
    width: 133px;
  }
}


/**
 * lead
 */
.lead {
  @media screen and (max-width: 640px) {
    margin-top: var(--gutter-md);
  }
}

.lead--inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  @media screen and (max-width: 640px) {
    gap: var(--gutter-sm);
    row-gap: var(--gutter-base);
  }
}

.lead--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter-sm);
  text-align: center;
  font-size: var(--font-size-sm);
  line-height: 1.7;

  @media screen and (max-width: 640px) {
    width: calc(50% - var(--gutter-sm) / 2);
    font-size: var(--font-size-xs);
  }
}

.lead--arrow {
  --arrow-w: 214px; /* 底辺 */
  --arrow-h: 62px; /* 高さ */

  @media screen and (max-width: 640px) {
    --arrow-w: 173px; /* 底辺 */
    --arrow-h: 50px; /* 高さ */
  }

  --arrow-w-half: calc(var(--arrow-w) / 2);
  --arrow-side: hypot(var(--arrow-h), var(--arrow-w-half)); 
  --arrow-rotate-atan: atan(var(--arrow-h) / var(--arrow-w-half));
  --arrow-rotate: calc(var(--arrow-rotate-atan) - 1deg);
  
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: var(--gutter-sm);
  text-align: center;
  font-size: var(--font-size-md);
  font-weight: 600;
  margin: var(--gutter-md) auto;
  color: var(--color-primary);
  line-height: 1;
  padding-bottom: var(--arrow-h);

  & > span {
    width: var( --arrow-w);
    position: relative;
    display: block;

    &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: var(--arrow-side);
      height: 2px;
      background-color: var(--color-primary);
      top: 0;
    }

    &::before {
      left: 0;
      transform-origin: left center;
      transform: rotate(var(--arrow-rotate));
    }

    &::after {
      right: 0;
      transform-origin: right center;
      transform: rotate(calc(-1 * var(--arrow-rotate)));
    }
  }
}


/**
 * voice
 */
.voice--pickup {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  @media screen and (max-width: 640px) {
    justify-content: center;
    font-size: var(--font-size-2xs);
    margin-top: var(--gutter-sm);

    & > img {
      width: 142px;
    }
  }
}

.voice--title {
  font-size: var(--font-size-md);
  font-weight: 600;
  text-align: center;
  line-height: 1.7;
  margin-bottom: var(--gutter-base);
}

.voice--container {
  border-top: 1px solid var(--color-800);
  border-bottom: 1px solid var(--color-800);
  padding-top: var(--gutter-md);
  padding-bottom: var(--gutter-md);
  margin-bottom: var(--gutter-md);
  display: flex;
  flex-direction: column;
  gap: var(--gutter-md);
}

.voice--works {
  display: flex;
  gap: var(--gutter-base);

  @media screen and (max-width: 640px) {
    flex-flow: row wrap;
    justify-content: center;
  }
}

.voice--works_item {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--gutter-sm);
  text-align: center;
  font-size: var(--font-size-xs);
  line-height: 1;
  font-weight: 600;

  @media screen and (max-width: 640px) {
    width: calc(50% - var(--gutter-base) / 2);
    flex: inherit;
  }
}

/**
 * case
 */
.case--img {
  @media screen and (min-width: 640px) {
    height: 332px !important;
  }
}

/**
 * step
 */
.step--lead {
  display: table;
  margin: var(--gutter-base) auto var(--gutter-md);
}

.step--container {
  display: flex;
  flex-direction: column;
  gap: var(--gutter-md);

  @media screen and (max-width: 640px) {
    gap: var(--gutter-base);
  }
}

.step--box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border: 1px solid var(--color-800);
  padding: var(--gutter-xs) var(--gutter-md) 0 var(--gutter-md);

  & > .c-title--number {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: var(--gutter-xs);
  }

  @media screen and (max-width: 640px) {
    align-items: flex-start;
    flex-direction: column;
    padding: var(--gutter-base) var(--gutter-base) 0;
    gap: var(--gutter-xs);
  }
}

.step--box_icon_wrapper {
  display: flex;
  align-items: center;
  gap: var(--gutter-md);

  & .step--box_icon {
    width: auto;
    gap: var(--gutter-sm);
  }

  @media screen and (max-width: 640px) {
    align-items: flex-end;
    justify-content: center;
    gap: 0;

    & .step--box_icon {
      flex-direction: column;
      gap: var(--gutter-xs);

      & > img {
        width: 70%;
      }
    }
  }
}

.step--box_icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--font-size-xs);
  width: 280px;
  line-height: 1.4;

  @media screen and (max-width: 640px) {
    justify-content: center;
    width: 100%;
    gap: var(--gutter-sm);

    & > img {
      width: 36%;
    }
  }
}

.step--box_icon_text {
  @media screen and (min-width: 640px) {
    padding-bottom: var(--gutter-xs);
  }
}

/**
 * contact
 */
.contact--wrapper {
  display: flex;
  gap: var(--gutter-md);

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

.contact--item {
  flex: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter-base);
  white-space: nowrap;
}

.contact--title {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  text-align: center;
  line-height: 1.7;

  @media screen and (min-width: 640px) {
    min-height: 82px;
  }
}

.contact--img {
  display: flex;
  align-items: center;
  text-align: center;

  @media screen and (min-width: 640px) {
    min-height: 156px;
  }
}

.contact--tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gutter-xs);
  line-height: 1;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary) !important;

  @media screen and (min-width: 640px) {
    pointer-events: none;
  }
}

.contact--tel_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter-sm);
  line-height: 1.7;
}

.floating {
  position: sticky;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 96px;
  background-color: var(--color-000);
  display: flex;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.1s;

  &.is-visible {
    opacity: 1;
  }

  @media screen and (min-width: 641px) {
    min-width: var(--width-content-base);
  }

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

.floating--wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.7;
  width: 100%;

  @media screen and (max-width: 1120px) {
    padding-right: var(--gutter-xl);
  }

  @media screen and (max-width: 640px) {
    padding: var(--gutter-sm);
    gap: var(--gutter-xs);
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--font-size-xs);
  }
}

.holdings-footer__pagetop {
  position: fixed !important;
  
  @media screen and (min-width: 981px) {
    bottom: 27px !important;
  }
  
  @media screen and (min-width: 641px) {
    bottom: 30px !important;
    right: var(--gutter-xs) !important;
  }

  @media screen and (max-width: 640px) {
    bottom: 80px !important;
    right: var(--gutter-xs) !important;
  }
}


/* add */
.break-text {
  text-align: center;
  font-weight: bold;
  font-size: var(--font-size-sm);
  line-height: 2;
  margin: var(--gutter-xl) auto;
  padding: 0 var(--gutter-md);

  @media screen and (max-width: 640px) {
    font-size: var(--font-size-xs);
    margin: 50px auto;
    padding: 0 10px;
  }

  & > .only-sp {
    display: none;

    @media screen and (max-width: 640px) {
      display: block;
    }
  }
}