@charset "UTF-8";


@media screen and (min-width: 641px) {
  .d-sp {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .d-pc {
    display: none !important;
  }
}

/** Fonts **/
.c-font--2xl { font-size: var(--font-size-2xl); }
.c-font--xl { font-size: var(--font-size-xl); }
.c-font--lg { font-size: var(--font-size-lg); }
.c-font--md { font-size: var(--font-size-md); }
.c-font--base { font-size: var(--font-size-base); }
.c-font--sm { font-size: var(--font-size-sm); }
.c-font--xs { font-size: var(--font-size-xs); }
.c-font--2xs { font-size: var(--font-size-2xs); }
.c-font--bold { font-weight: 600; }
.c-font--normal { font-weight: normal; }

/** color **/
.c-color--primary { color: var(--color-primary); }
.c-color--primary-light { color: var(--color-primary-light); }
.c-color--900 { color: var(--color-900); }
.c-color--800 { color: var(--color-800); }
.c-color--500 { color: var(--color-500); }
.c-color--300 { color: var(--color-300); }
.c-color--100 { color: var(--color-100); }
.c-color--000 { color: var(--color-000); }

.c-text--center { text-align: center; }
.c-text--left { text-align: left; }
.c-text--right { text-align: right; }

.c-gutter--base { margin-top: var(--gutter-base); }
.c-gutter--2xl { margin-top: var(--gutter-2xl); }
.c-gutter--xl { margin-top: var(--gutter-xl); }
.c-gutter--lg { margin-top: var(--gutter-lg); }
.c-gutter--md { margin-top: var(--gutter-md); }
.c-gutter--sm { margin-top: var(--gutter-sm); }
.c-gutter--xs { margin-top: var(--gutter-xs); }
.c-gutter--2xs { margin-top: var(--gutter-2xs); }

/** layouts **/
.c-section {
  margin-top: var(--gutter-xl);
  margin-bottom: var(--gutter-xl);

  @media screen and (max-width: 640px) {
    margin-top: var(--gutter-lg);
    margin-bottom: var(--gutter-lg);
  }
}

.c-section--min {
  margin-top: var(--gutter-lg);
  margin-bottom: var(--gutter-lg);

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

.c-inner {
  max-width: calc(var(--width-content-base) + var(--gutter-sm) * 2);
  padding-right: var(--gutter-sm);
  padding-left: var(--gutter-sm);
  margin-left: auto;
  margin-right: auto;

  &.is-wide {
    max-width: calc(var(--width-content-wide) + var(--gutter-sm) * 2);
    padding-right: var(--gutter-sm);
    padding-left: var(--gutter-sm);
  }
}

.c-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gutter-md);

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

.c-columns_item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--gutter-md) - 8px);
  width: 50%;

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

img.c-columns_item {
  width: calc(50% - var(--gutter-md));
}

.c-columns--fitted {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gutter-lg);

  &.is-items-center {
    align-items: center;
  }

  @media screen and (max-width: 640px) {
    flex-direction: column;
    padding-right: var(--gutter-sm);
    padding-left: var(--gutter-sm);
  }
}

.c-columns--fitted_item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--gutter-md) - 8px);

  @media screen and (min-width: 640px) {
    width: calc(50% - var(--gutter-lg) - var(--gutter-sm));

    &.has-padding {
      margin-top: -0.5em;
      width: 50%;
    }

    &.is-large-gap {
      gap: calc(var(--gutter-md) + 4px);
    }

    &:first-child.has-padding {
      padding-left: calc((100vw - var(--width-content-base)) / 2);
    }

    &:last-child.has-padding {
      padding-right: calc((100vw - var(--width-content-base)) / 2);
    }
  }

  @media screen and (max-width: 1010px) {
    &:first-child.has-padding {
      padding-left: var(--gutter-sm);
    }

    &:last-child.has-padding {
      padding-right: var(--gutter-sm);
    }
  }

  @media screen and (max-width: 640px) {
    gap: var(--gutter-base);
    
    &:first-child.has-padding {
      padding-left: 0;
    }

    &:last-child.has-padding {
      padding-right: 0;
    }
  }
}

img.c-columns--fitted_item {
  @media screen and (min-width: 640px) {
    height: 443px;
    object-fit: cover;
  }
}

.c-columns--balloon {
  display: flex;
  align-items: flex-end;
  gap: var(--gutter-base);

  @media screen and (max-width: 640px) {
    & > img {
      flex: 1;
      width: 30%;
    }
  }
}

.c-columns--balloon_item {
  padding: var(--gutter-sm) var(--gutter-base);
  font-weight: 600;
  border: 1px solid var(--color-300);
  position: relative;
  font-size: 14px;
  flex-shrink: 0;
  min-width: 180px;

  &.is-left::before,
  &.is-right::before {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background-color: var(--color-000);
    border-top: 1px solid var(--color-300);
    content: "";
  }

  &.is-left::before {
    left: -9px;
    transform: translateY(-50%) skew(45deg); 
    border-left: 1px solid var(--color-300);
  }

  &.is-right::before {
    right: -9px;
    transform: translateY(-50%) skew(-45deg); 
    border-right: 1px solid var(--color-300);
  }

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

.c-columns--border {
  display: flex;
  border-left: 1px solid var(--color-800);
  margin-bottom: var(--gutter-lg);

  @media screen and (max-width: 640px) {
    display: block;
    border-left: none;
    border-top: 1px solid var(--color-800);
    margin-bottom: var(--gutter-base);
  }
}

.c-columns--border_wrapper {
  display: flex;
  gap: var(--gutter-base);
  flex-direction: column;
  align-items: center;

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

.c-columns--border_img {
  @media screen and (max-width: 640px) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
  }
}

.c-columns--border_item {
  flex: 1;
  border-right: 1px solid var(--color-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter-sm);
  padding: 0 var(--gutter-md);

  @media screen and (max-width: 640px) {
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--color-800);
    padding: var(--gutter-md) var(--gutter-base) var(--gutter-md) 0;
  }
}

.c-columns--border_title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
  text-align: center;

  @media screen and (max-width: 640px) {
    text-align: left;
    white-space: inherit;
  }
}

.c-columns--border_text {
  font-size: var(--font-size-xs);
}

/** title */
.c-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.7;

  &.is-center {
    @media screen and (max-width: 640px) {
      text-align: center;
    }
  }

  &.is-sp-center {
    @media screen and (max-width: 640px) {
      text-align: center;
    }
  }
}

.c-title--number {
  display: flex;
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.7;
  padding-bottom: var(--gutter-sm);
  border-bottom: 1px solid var(--color-800);

  @media screen and (max-width: 640px) {
    padding-bottom: 0;
    border-bottom: none;
  }
}

.c-title--number_icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  margin-right: var(--gutter-base);
  padding-right: var(--gutter-base);
  color: var(--color-primary);
  font-size: 40px;
  position: relative;
  flex-shrink: 0;
  min-height: calc(62px + 0.5em);

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: calc(100% - 0.5em);
    background-color: var(--color-800);
  }

  & > span {
    font-size: var(--font-size-xs);
    line-height: 1.4;
  }

  @media screen and (max-width: 640px) {
    margin-right: var(--gutter-sm);
    padding-right: var(--gutter-sm);
    font-size: 30px;
    min-height: calc(50px + 0.5em);

    & > span {
      font-size: var(--font-size-2xs);
    }
  }
}

.c-title--number_text {
  display: flex;
  align-items: center;
}

.c-title--img {
  text-align: center;

  & > img {
    margin: 0 auto;
  }
}

.c-title--sub {
  color: var(--color-primary);
  display: table;
  margin-right: auto;
  margin-left: auto;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  margin-bottom: var(--gutter-2xs);

  &::before,
  &::after {
    content: "";
    position: absolute;
    display: block;
    width: 2px;
    height: 110%;
    background-color: var(--color-primary);
    transform-origin: center bottom;
    top: 50%;
  }

  &::before {
    left: calc(-1 * var(--gutter-sm));
    transform: translateY(-55%) rotate(-25deg);
  }

  &::after {
    right: calc(-1 * var(--gutter-sm));
    transform: translateY(-55%) rotate(25deg);
  }

  @media screen and (max-width: 640px) {
    margin-bottom: var(--gutter-xs);

    &::before,
    &::after {
      height: 100%;
    }
  }
}

.c-title_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gutter-md);

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

    & > .c-title {
      flex-shrink: 0;
    }

    & > img {
      max-width: 34%;
    }
  }
}

/** button */
.c-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: var(--gutter-xs) var(--gutter-md);
  text-align: center;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.4s ease;
  gap: var(--gutter-sm);
  line-height: 1.4;
  white-space: nowrap;

  &::after {
    transition: transform 0.4s ease;
  }

  @media screen and (max-width: 640px) {
    width: 100%;
    gap: var(--gutter-xs);
    font-size: var(--font-size-xs);
    padding: var(--gutter-2xs) var(--gutter-sm);
    min-height: 44px;
  }
}

.c-button--primary {
  color: var(--color-000);
  background-color: var(--color-primary);

  &::after {
    content: "";
    display: block;
    width: 48px;
    height: 8px;
    border-bottom: 1px solid var(--color-000);
    border-right: 1px solid var(--color-000);
    transform: skew(45deg);
  }

  &:hover {
    opacity: 1;
    background-color: var(--color-primary-light);

    &::after {
      transform: skew(45deg) translateX(20px);
    }
  }

  &:link,
  &:visited {
    color: var(--color-000);
  }

  @media screen and (max-width: 640px) {
    &::after {
      width: 32px;
    }
  }
}

.c-button--secondary {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);

  &::after {
    content: "";
    display: block;
    width: 48px;
    height: 8px;
    border-bottom: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    transform: skew(45deg);
  }

  &:hover {
    &::after {
      transform: skew(45deg) translateX(20px);
    }
  }

  &:link,
  &:visited {
    color: var(--color-primary);
  }

  @media screen and (max-width: 640px) {
    &::after {
      width: 32px;
    }
  }
}


/** cv */
.c-cta {
  background-color: var(--color-100);
  padding-top: var(--gutter-md);
  padding-bottom: var(--gutter-md);
}

.c-cta_inner {
  display: flex;
  flex-direction: column;
  gap: var(--gutter-md);

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

.c-cta_title {
  text-align: center;

  & > img {
    margin: 0 auto;
  }
}

.c-cta_box {
  background-color: var(--color-000);
  padding: var(--gutter-md) var(--gutter-lg);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--gutter-sm);

  @media screen and (max-width: 640px) {
    text-align: center;
    padding: var(--gutter-base) var(--gutter-sm);
  }
}

.c-cta_box_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gutter-sm);

  & > img {
    margin: 0 auto;
  }

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

.c-cta_button_icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-000);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  line-height: 1.2;
  flex-shrink: 0;

  @media screen and (max-width: 640px) {
    width: 37px;
    height: 37px;
    font-size: var(--font-size-2xs);
  }
}

.c-cta_button_text {
  line-height: 1.2;

  & > span {
    font-weight: normal;
    font-size: var(--font-size-xs);
  }

  @media screen and (max-width: 640px) {
    & > span {
      font-size: var(--font-size-2xs);
    }
  }
}
