:root {
  --blue: #0072C6;
  --nav-blue: #5CAEEA;
  --title-main: #1A2D3B;
  --text-main: #464E54;
  --cta-button-line: #06C755;
  --shadow: 0 13px 24px rgba(11, 49, 75, .18);
  --font-main: "Noto Sans JP", "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-dela: "Dela Gothic One", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

@media (max-width: 1439px) {
  .hero__eyebrow {
    font-size: 36px;
  }
  .hero__line--primary {
    font-size: 80px;
  }
  .marker--top {
    right: 50px;
  }
  .hero__particle {
    font-size: 40px;
  }
  .hero__line--sub {
    font-size: 48px;
  }
  .hero__copy {
    font-size: 18px;
  }
  .daihyo {
    right: -70px;
    width: 620px;
  }
  .case--after {
    right: 114px;
  }
  .case--before {
    right: 312px;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 15px;
  }
  .hero .container {
    width: 90%;
  }
  .hero__content {
    width: min(720px, calc(100% - 64px));
    padding-left: 0;
  }
  .hero__line--primary {
    font-size: 64px;
  }
  .hero__line--sub {
    font-size: 42px;
  }
  .hero__copy {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 42px;
  }
  .daihyo {
    width: 556px;
  }
  .case--after {
    top: 130px;
    right: 70px;
    width: 180px;
  }
  .case--before {
    top: 200px;
    right: 230px;
    width: 135px;
  }
  .button {
    width: 260px;
    height: 55px;
  }
  .services__title {
    font-size: 32px;
  }
  .services__list {
    width: 850px;
    flex-wrap: wrap;
    gap: 40px;
  }
  .service-card {
    width: 280px;
  }
  .service-card__image {
    width: 190px;
    height: 190px;
  }
  .service-card__title {
    font-size: 21px;
  }
  .daihyo-message__inner {
    gap: 40px;
  }
  .cta__ivy--top {
    left: -86px;
    width: 390px;
  }
  .cta__ivy--bottom {
    right: -210px;
    width: 710px;
  }
  .work-card {
    flex-basis: 380px;
    padding-right: 28px;
    padding-left: 28px;
  }
  .work-card__title {
    font-size: 25px;
  }
  .work-card__image {
    height: 248px;
  }
  .testimonial-card {
    padding-right: 24px;
    padding-left: 24px;
  }
  .testimonial-card__head {
    gap: 14px;
  }
  .testimonial-card__avatar {
    width: 85px;
    height: 85px;
  }
  .faq__panel {
    max-width: 760px;
  }
  .faq__person {
    left: 42px;
  }
  .faq__tools {
    right: 34px;
  }
  .pricing {
    padding-right: 32px;
    padding-left: 32px;
  }
  .pricing__title {
    font-size: 34px;
  }
  .pricing__list {
    flex-wrap: wrap;
    width: 850px;
    gap: 40px;
    margin: 0 auto;
  }
  .pricing-card {
    width: 45%;
  }
  .pricing-card__title {
    font-size: 19px;
  }
  .pricing-card__image {
    width: 190px;
    height: 190px;
  }
  .pricing-card__price {
    font-size: 19px;
  }
  .pricing-card__price strong {
    font-size: 27px;
  }
  .contact {
    padding-top: 68px;
  }
  .footer {
    padding-right: 32px;
    padding-left: 32px;
  }
  .footer__top {
    grid-template-columns: 410px 1fr;
    gap: 36px;
  }
  .footer__areas {
    padding-left: 36px;
  }
  .footer__nav {
    gap: 28px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 82px;
  }
  .disp-960 {
    display: block;
  }
  .header {
    display: block;
    height: var(--header-height);
    padding: 0 20px;
    background: rgba(255, 255, 255, .8);
  }
  .header .container {
    width: 100%;
  }
  .header-inner {
    position: relative;
    height: var(--header-height);
  }
  .brand {
    gap: 0;
  }
  .brand__lead {
    font-size: 12.5px;
  }
  .brand__logo {
    width: 247px;
  }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    border: none;
    background-color: rgba(255, 255, 255, 0);
  }
  .menu-toggle span {
    display: block;
    width: 31px;
    height: 2px;
    border-radius: 999px;
    background: var(--title-main);
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateX(1.5px) translateY(12px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateX(1.5px) translateY(-11px) rotate(-45deg);
  }
  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 101;
    display: grid;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    gap: 0;
    overflow: hidden;
    padding: 0 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 24px rgba(19, 45, 61, .12);
    color: var(--blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, padding .2s ease;
  }
  body.is-menu-open .nav {
    overflow-y: auto;
    padding-top: 10px;
    padding-bottom: 18px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__link {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 114, 198, .16);
    text-align: center;
  }
  .nav__link::after {
    right: auto;
    bottom: 9px;
    width: 56px;
  }
  .sticky-hero-buttons {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 -8px 24px rgba(19, 45, 61, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  body.is-sticky-hero-visible .sticky-hero-buttons {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  body.is-sticky-hero-visible {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .sticky-hero-buttons .button {
    width: min(280px, calc(50vw - 19px));
    height: 54px;
    gap: 10px;
    font-size: 15px;
  }
  .sticky-hero-buttons .button__icon {
    width: 22px;
    height: 22px;
  }
  .hero .container {
    height: 770px;
  }
  .hero__content {
    margin: 0 auto;
    width: 615px;
    padding-top: 50px;
  }
  .hero__eyebrow {
    font-size: 28px;
    display: inline-block;
  }
  .hero__title {
    display: inline;
  }
  .hero__line--primary {
    font-size: 76px;
    display: inline-block;
  }
  .hero__line--second {
    margin-left: 46px;
    display: inline-block;
  }
  .hero__line--sub {
    font-size: 52px;
    display: inline-block;
  }
  .hero__copy {
    font-size: 16px;
    line-height: 1.8;
    display: inline-block;
  }
  .hero__buttons {
    flex-wrap: wrap;
    gap: 14px;
  }
  .daihyo {
    right: 50%;
    width: 570px;
    transform: translateX(50%);
    bottom: -90px;
  }
  .case {
    display: none;
  }
  .hero::after {
    display: none;
  }
  .services__title {
    margin-bottom: 42px;
    font-size: 34px;
  }
  .services__title::before {
    bottom: 5px;
  }
  .services__list {
    width: auto;
    gap: 60px 40px;
  }
  .daihyo-message {
    min-height: auto;
  }
  .daihyo-message::before {
    height: auto;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  }
  .daihyo-message__inner {
    gap: 20px;
    padding: 100px 0 0;
  }
  .daihyo-message__body {
    padding-top: 0;
  }
  .daihyo-message__figure {
    height: 380px;
  }
  .daihyo-message__figure img {
    width: 290px;
  }
  .daihyo-message__title {
    font-size: 34px;
  }
  .daihyo-message__text {
    font-size: 15px;
  }
  .cta {
    min-height: auto;
    padding: 148px 0;
  }
  .cta__panel {
    padding: 52px 28px 46px;
  }
  .cta__title {
    font-size: 28px;
  }
  .cta__text {
    font-size: 14px;
  }
  .cta__buttons {
    flex-wrap: wrap;
  }
  .cta__ivy--top {
    top: -10px;
  }
  .works {
    padding: 72px 0 112px;
  }
  .works__title {
    font-size: 33px;
  }
  .works__title::before {
    right: -18px;
    left: 12px;
    height: 70px;
  }
  .works__lead {
    margin-bottom: 24px;
    font-size: 17px;
  }
  .works-slider__viewport {
    overflow-x: hidden;
    padding: 0 28px 8px;
  }
  .works-slider__arrow {
    top: 210px;
  }
  .work-card {
    flex-basis: 340px;
    min-height: 480px;
    padding: 30px 24px 28px;
  }
  .work-card__title {
    font-size: 23px;
  }
  .work-card__image {
    height: 226px;
  }
  .testimonials {
    padding: 120px 0;
  }
  .testimonials__title {
    font-size: 31px;
  }
  .testimonials__title span::before {
    height: 52px;
  }
  .testimonials__rating {
    margin-bottom: 34px;
    font-size: 16px;
  }
  .testimonial-list {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
  }
  .testimonial-card {
    min-height: 0;
  }
  .faq {
    padding: 62px 28px 94px;
  }
  .faq::before {
    top: 138px;
  }
  .faq__panel {
    min-height: 0;
    padding: 68px 42px 58px;
  }
  .faq__person {
    top: -46px;
    left: 34px;
    width: 120px;
  }
  .faq__tools {
    top: 52px;
    right: 14px;
  }
  .faq__header {
    margin-bottom: 60px;
  }
  .faq__title {
    font-size: 32px;
  }
  .faq__lead {
    font-size: 17px;
  }
  .pricing {
    padding: 82px 28px 92px;
  }
  .pricing__header {
    margin-bottom: 46px;
  }
  .pricing__header::before {
    right: 128px;
    left: 140px;
  }
  .pricing__title {
    font-size: 28px;
  }
  .pricing__list {
    width: auto;
  }
  .pricing-card__title {
    min-height: 78px;
  }
  .pricing__note {
    margin-right: auto;
  }
  .contact {
    padding: 62px 28px 112px;
  }
  .contact__title {
    font-size: 31px;
  }
  .contact__title::before {
    height: 64px;
  }
  .contact-notes {
    margin-bottom: 70px;
    padding: 40px 40px 34px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__areas {
    padding-left: 0;
    border-left: 0;
  }
  .footer__nav {
    flex-wrap: wrap;
    gap: 18px 30px;
  }
}

@media (max-width: 768px) {
  .disp-768 {
    display: block;
  }
  .hero .container {
    height: 800px;
  }
  .hero__content {
    width: 484px;
  }
  .hero__eyebrow {
    font-size: 31px;
  }
  .hero__line--primary {
    font-size: 68px;
  }
  .hero__line--sub {
    font-size: 42px;
  }
  .hero__copy {
    font-size: 14px;
  }
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  .button {
    width: 280px;
  }
  .sticky-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  body.is-sticky-hero-visible {
    padding-bottom: calc(144px + env(safe-area-inset-bottom));
  }
  .sticky-hero-buttons .button {
    width: min(100%, 310px);
  }
  .services .container {
  }
  .services__title {
    font-size: 38px;
    line-height: 56px;
    max-width: max-content;
  }
  .services__title::before {
    right: 45px;
    bottom: 31px;
    left: 0px;
    height: 110px;
    transform: rotate(-2deg);
  }
  .services__list {
    gap: 32px 24px;
  }
  .service-card {
    width: 45%;
  }
  .service-card__image {
    width: 130px;
    height: 130px;
    margin-bottom: 8px;
  }
  .service-card__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .service-card__text {
    margin-bottom: 8px;
  }
  .daihyo-message__inner {
    display: none;
  }
  .daihyo-message__inner-sp {
    display: block;
  }
  .daihyo-message__inner-sp {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-top: 140px;
    background: transparent;
  }
  .daihyo-message__title-wrapper {
    width: 328px;
    margin: 0 auto;
  }
  .daihyo-message__inner-sp .daihyo-message__title {
    width: 100%;
    max-width: none;
    margin: 0 0 34px;
    font-size: 44px;
    line-height: 56px;
    transform: rotate(-7deg);
  }
  .daihyo-message__inner-sp .daihyo-message__title-line {
    width: max-content;
    max-width: 100%;
  }
  .daihyo-message__inner-sp .daihyo-message__title-line--short {
    margin-left: 4px;
  }
  .daihyo-message__inner-sp .daihyo-message__title-line--short::before {
    right: -24px;
    bottom: -10px;
    left: -8px;
    height: 100px;
    transform: rotate(10deg);
  }
  .daihyo-message__inner-sp .daihyo-message__body {
    position: relative;
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    align-items: end;
    padding: 0;
    width: 500px;
    margin: 0 auto;
  }
  .daihyo-message__inner-sp .daihyo-message__figure {
    align-self: end;
    width: 200px;
    height: auto;
  }
  .daihyo-message__inner-sp .daihyo-message__figure img {
    width: 100%;
  }
  .daihyo-message__inner-sp .daihyo-message__text {
    align-self: start;
    margin: 18px 12px 0 0;
    font-size: 18px;
    line-height: 28px;
    text-align: right;
  }
  .testimonials__title {
    font-size: 24px;
    line-height: 32px;
  }
  .testimonials__title::before {
    bottom: -24px;
  }
  .faq {
    padding: 62px 0 62px;
  }
  .faq::before {
    top: 36px;
  }
  .faq__panel::before {
    display: none;
  }
  .faq__tools {
    top: 154px;
    width: 117px;
  }
  .pricing-card {
    min-width: 300px;
  }
  .cta-button {
    width: 234px;
  }
  .contact__intro {
    font-size: 14px;
  }
  .footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .disp-540 {
    display: block;
  }
  .disp-none-540 {
    display: none;
  }
  .hero .container {
    height: 710px;
  }
  .hero__content {
    width: 354px;
  }
  .hero__line--primary {
    font-size: 50px;
  }
  .hero.inquirycompleted .hero__line--primary {
    font-size: 33px !important;
  }
  .hero.inquirycompleted .hero__content {
    width: min(990px, calc(100% - 15px));
  }
  .hero.inquirycompleted .hero__content .marker--bottom {
    transform: rotate(6deg);
  }
  .marker--top {
    right: 22px;
    bottom: 0px;
    left: -5px;
    height: 70px;
    transform: rotate(7deg);
  }
  .hero__line--second {
    margin-left: 0;
  }
  .marker--bottom {
    right: -16px;
    bottom: -5px;
    left: -8px;
    height: 70px;
    transform: rotate(8deg);
  }
  .hero__line--sub {
    margin-top: 10px;
    font-size: 29px;
  }
  .hero__copy {
    margin: 10px 0 19px;
  }
  .hero__buttons {
    gap: 12px;
  }
  .button {
    width: 280px;
  }
  .sticky-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .sticky-hero-buttons .button {
    width: min(100%, 310px);
  }
  .daihyo {
    min-width: 540px;
  }
  .daihyo-message .container {
    width: 90%;
  }
  .daihyo-message::before {
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
  }
  .daihyo-message__inner-sp {
    padding-top: 90px;
  }
  .daihyo-message__inner-sp .daihyo-message__title {
    margin-bottom: 5px;
  }
  .daihyo-message__inner-sp .daihyo-message__body {
    grid-template-columns: 112px minmax(0, 1fr);
    width: auto;
  }
  .daihyo-message__inner-sp .daihyo-message__figure {
    width: 155px;
  }
  .daihyo-message__inner-sp .daihyo-message__text {
    font-size: 14px;
    line-height: 24px;
    margin: 18px 0 0 0;
  }
  .cta__ivy--top {
    top: 15px;
    left: 0px;
    width: 368px;
  }
  .cta__ivy--bottom {
    right: -144px;
    bottom: -20px;
    max-width: max-content;
    height: 418px;
  }
  .cta__panel {
    padding: 64px 32px;
  }
  .cta__title {
    font-size: 24px;
    margin: 0 0 30px;
  }
  .cta__text {
    margin: 0 0 30px;
  }
  .works__header {
    width: auto;
  }
  .works__title {
    font-size: 24px;
    line-height: 32px;
  }
  .works__lead {
    font-size: 16px;
    line-height: 24px;
  }
  .works__text {
    font-size: 14px;
  }
  .work-card {
    width: 320px !important;
    min-height: 448px;
  }
  .work-card__text {
    font-size: 14px;
    line-height: 24px;
  }
  .testimonials .container {
    width: 96%;
  }
  .testimonials__title::before {
    right: 20px;
    bottom: -34px;
    left: 9px;
    height: 117px;
  }
  .testimonial-card {
    padding-right: 16px;
    padding-left: 16px;
  }
  .testimonial-card__text {
    font-size: 14px;
    line-height: 24px;
  }
  .testimonials__button {
    font-size: 16px;
    width: 248px;
    height: 64px;
  }
  .faq::before {
    top: 79px;
  }
  .faq__panel {
    padding: 80px 16px 58px;
  }
  .faq__title {
    font-size: 24px;
  }
  .faq__lead {
    font-size: 16px;
  }
  .faq__person {
    top: 0;
    left: 19px;
    width: 117px;
  }
  .faq__tools {
    top: 142px;
    right: 4px;
  }
  .faq-item__question {
    font-size: 16px;
    line-height: 20px;
    column-gap: 0;
  }
  .faq-item__mark {
    font-size: 18px;
    width: 34px;
    height: 34px;
  }
  .faq-item__answer {
    font-size: 14px;
    column-gap: 0;
  }
  .pricing {
    padding: 80px 16px 120px;
  }
  .pricing__header {
    margin-bottom: 60px;
  }
  .pricing__header::before {
    right: 16px;
    left: 15px;
    bottom: -2px;
    height: 110px;
  }
  .pricing__title {
    font-size: 24px;
    line-height: 32px;
  }
  .pricing__list {
    gap: 52px;
  }
  .pricing-card {
    width: 100%;
  }
  .pricing-card__image {
    width: 220px;
    height: 220px;
  }
  .pricing-card__price {
    font-size: 16px;
  }
  .pricing-card__price strong {
    font-size: 28px;
  }
  .contact__header {
    margin-bottom: 30px;
  }
  .contact__title {
    font-size: 24px;
  }
  .contact__header::before {
    right: -3px;
    bottom: 160px;
    left: 12px;
    height: 90px;
    transform: rotate(-5deg);
  }
  .cta__buttons {
    gap: 24px;
  }
  .cta-button {
    width: 350px;
  }
  .contact {
    padding: 60px 16px 180px;
  }
  .contact-notes {
    padding: 60px 25px 80px;
    margin-bottom: 90px;
  }
  .contact-notes__list {
    line-height: 22px;
  }
  .contact-notes__list li {
    padding-left: 0;
  }
  .contact-notes__list li + li {
    margin-top: 20px;
  }
  .contact-notes__list small {
    font-size: 14px;
  }
  .contact-form {
    padding: 42px 24px 64px;
  }
  .contact-form__field {
    margin-bottom: 19px;
  }
  .contact-form__field label {
    margin-bottom: 19px;
  }
  .contact-form__submit {
    width: 310px;
  }
  .footer {
    padding: 64px 16px 24px;
  }
  .footer__top {
    gap: 24px;
  }
  .footer__info {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 24px;
  }
  .footer__nav {
    gap: 12px;
  }
  .footer__nav a {
    font-size: 18px;
    line-height: 1;
  }
  .footer__copy {
    font-size: 10px;
  }
}

@media (max-width: 540px) {
  .works-slider {
    overflow: hidden;
  }

  .works-slider__viewport {
    overflow: hidden;
  }

  .works-slider__track .slick-slide {
    width: 320px !important;
    padding: 30px;
    box-sizing: border-box;
  }

  .work-card {
    width: 100% !important;
    min-height: auto;
    padding: 24px 20px 28px;
    box-sizing: border-box;
  }

  .work-card__title {
    font-size: 22px;
    line-height: 1.35;
    white-space: normal;
  }

  .work-card__image {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .work-card__image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .work-card__text {
    font-size: 15px;
    line-height: 1.8;
    word-break: normal;
    overflow-wrap: break-word;
    padding-bottom: 30px;
  }
}