:root {
  --navy: #07194f;
  --blue: #0756b4;
  --blue-dark: #044ba2;
  --blue-light: #f4f9fd;
  --orange: #f58a24;
  --yellow: #ffd531;
  --text: #222222;
  --border: #d7dfe7;
  --shadow: 0 8px 20px rgba(7, 25, 79, 0.13);
  --font-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

ul {
  padding-left: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
}

.mobile-only {
  display: none;
}

.tablet-only {
  display: none;
}

.site-header {
  position: relative;
  z-index: 10;
  height: 100px;
  background: #ffffff;
  border-bottom: 1px solid #cfd4d9;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 120px), 1320px);
  height: 100%;
  margin-inline: auto;
}

.site-header__logo,
.site-footer__logo {
  display: block;
  flex: 0 0 auto;
}

.site-header__logo img,
.site-footer__logo img {
  width: 180px;
  height: auto;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 186px;
  min-height: 68px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-contact img {
  width: 32px;
  height: 24px;
}

.header-contact:hover,
.header-contact:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.wide-link-button:hover,
.wide-link-button:focus-visible,
.contact-banner__button:hover,
.contact-banner__button:focus-visible {
  opacity: 0.7;
  transform: scale(0.95, 0.95);
  -webkit-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
}

.header-contact:active,
.primary-button:active,
.wide-link-button:active,
.contact-banner__button:active {
  transform: translateY(1px);
}

.hero__main {
  position: relative;
  height: 700px;
  overflow: hidden;
  background-color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 41%,
      rgba(255, 255, 255, 0.97) 46%,
      rgba(255, 255, 255, 0.72) 53%,
      rgba(255, 255, 255, 0.1) 66%,
      rgba(255, 255, 255, 0) 74%
    ),
    url("../assets/images/hero/hero-background_pc.png");
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: 100% 100%, auto 100%;
  /*background-size: cover;*/
}

.hero__inner {
  position: relative;
  z-index: 1;
  /*width: min(calc(100% - 40px), 1200px);*/
  width: min(calc(100% - 120px), 1320px);
  height: 100%;
  margin-inline: auto;
  padding-top: 70px;
}

.hero__copy {
  width: 610px;
}

.hero__title {
  margin-bottom: 31px;
  color: var(--navy);
  font-size: 52px;
  line-height: 1.38;
  letter-spacing: 0.015em;
  font-weight: 800;
}

.hero__title span,
.hero__lead span,
.introduction__lead span {
  display: block;
}

.hero__lead {
  margin-bottom: 25px;
  color: var(--blue-dark);
  font-size: 29px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.hero__description {
  margin-bottom: 32px;
  color: #252525;
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 70px;
  padding: 0 27px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.primary-button img {
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
}

.hero__mobile-button {
  display: none;
}

.section-heading,
.decorated-heading {
  color: var(--blue-dark);
  text-align: center;
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: 0.015em;
  font-weight: 800;
}

.decorated-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.decorated-heading > img {
  flex: 0 0 40px;
  width: 40px;
  height: 17px;
}

.introduction {
  padding-top: 76px;
}

.introduction .decorated-heading {
  margin-bottom: 68px;
  color: var(--navy);
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
}

.worry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 18px 20px 20px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.worry-card img {
  width: auto;
  height: 84px;
  margin-bottom: 15px;
  object-fit: contain;
}

.worry-card h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.42;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.introduction__lead {
  margin: 128px 0 56px;
  color: var(--blue-dark);
  text-align: center;
  font-size: 36px;
  line-height: 1.72;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.solution-panel {
  display: grid;
  gap: 20px;
  padding: 50px 60px 60px;
  border: 1px solid #ccd9e5;
  border-radius: 10px;
  background: var(--blue-light);
}

.solution-card {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 20px 49px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #ffffff;
}

.solution-card > img {
  flex: 0 0 84px;
  width: 84px;
  max-height: 84px;
  margin-right: 46px;
  object-fit: contain;
}

.solution-card__body {
  min-width: 0;
}

.solution-card h3 {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 31px;
  line-height: 1.45;
  letter-spacing: 0.015em;
  font-weight: 800;
}

.solution-card p {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  font-weight: 700;
}

.cases {
  padding-top: 111px;
}

.cases .section-heading {
  margin-bottom: 68px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.case-card {
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #ffffff;
}

.case-card__image {
  width: calc(100% - 20px);
  height: auto;
  margin: 20px auto 0;
  border-radius: 6px;
  object-fit: cover;
}

.case-card__body {
  padding: 14px 18px 24px;
  text-align: center;
}

.case-card h3 {
  margin-bottom: 2px;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.case-card__category {
  margin-bottom: 16px;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 6px;
  margin-bottom: 0;
}

.tag-list li {
  padding: 6px 11px;
  border-radius: 9px;
  color: #ffffff;
  background: var(--blue);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.wide-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: min(620px, 100%);
  min-height: 68px;
  margin: 67px auto 0;
  padding: 14px 36px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  text-align: center;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wide-link-button__arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: rotate(45deg);
}

.features {
  padding-top: 200px;
}

.decorated-heading--feature {
  margin-bottom: 68px;
  font-size: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.feature-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  min-height: 300px;
  padding: 40px 27px 34px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #ffffff;
}

.feature-card > img {
  width: 92px;
  max-height: 120px;
  object-fit: contain;
}

.feature-card h3 {
  margin-bottom: 19px;
  color: var(--blue-dark);
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.faq {
  padding-top: 120px;
}

.faq .section-heading {
  margin-bottom: 63px;
}

.faq-list {
  display: grid;
  gap: 40px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.faq-item h3 {
  margin-bottom: 0;
}

.faq-question {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 30px;
  width: 100%;
  min-height: 100px;
  padding: 23px 28px 23px 25px;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  background: #f2f8fd;
  box-shadow: 0 7px 18px rgba(7, 25, 79, 0.12);
  text-align: left;
  cursor: pointer;
}

.faq-question > img:first-child {
  width: 50px;
  height: 50px;
}

.faq-question > span {
  font-size: 27px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.faq-question__arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-question__arrow {
  transform: rotate(180deg);
}

.faq-question:focus-visible {
  outline: 3px solid rgba(4, 75, 162, 0.45);
  outline-offset: 3px;
}

.faq-answer {
  margin-top: 10px;
  padding: 24px 30px;
  border: 1px solid #d9e4ed;
  border-radius: 6px;
  background: #ffffff;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 2;
}

.contact-section {
  padding-top: 200px;
}

.contact-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  width: min(calc(100% - 40px), 1200px);
  min-height: 240px;
  margin-inline: auto;
  padding: 35px 50px 35px 85px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(105deg, #0852ad 0%, #2785f4 100%);
}

.contact-banner__visual {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 58px;
  width: 105px;
  height: 198px;
  opacity: 0.25;
}

.contact-banner__message {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.contact-banner__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 400px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 104px;
  padding: 18px 24px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  text-align: center;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-banner__button img {
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
}

.site-footer {
  padding-top: 88px;
  background: #ffffff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 120px), 1320px);
  min-height: 132px;
  margin-inline: auto;
  padding-bottom: 35px;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 60px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.footer-nav a + a {
  border-left: 1px solid #c7c7c7;
}

.footer-nav a:last-child {
  padding-right: 0;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--blue-dark);
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 0;
  padding: 20px;
  color: #ffffff;
  background: var(--navy);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}


/*1180px以下*/

@media (max-width: 1180px) {
  .tablet-only {
    display: initial;
  }
  
  .site-header__inner,
  .site-footer__inner {
    width: calc(100% - 60px);
  }
  .hero__main{
    height: 800px;
  }
  
  .hero__copy {
    width: 500px;
  }

  .hero__title {
    font-size: 47px;
  }

  .hero__lead {
    font-size: 26px;
  }

  .hero__description {
    font-size: 19px;
  }

  .primary-button {
    font-size: 19px;
  }
  
  .solution-panel {
    padding-left: 35px;
    padding-right: 35px;
  }

  .solution-card {
    padding-inline: 35px;
  }

  .solution-card > img {
    margin-right: 32px;
  }

  .case-grid {
    gap: 24px;
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 20px;
    padding-inline: 22px;
  }

  .feature-card > img {
    width: 78px;
  }

  .feature-card h3 {
    font-size: 23px;
  }

  .feature-card p {
    font-size: 18px;
  }

  .contact-banner {
    padding-left: 35px;
    gap: 15px;
  }

  .contact-banner__message {
    font-size: 29px;
  }

  .contact-banner__button {
    flex-basis: 360px;
    font-size: 20px;
  }

  .footer-nav a {
    padding-inline: 30px;
  }
  
  .worry-grid {
    gap: 32px 16px;
  }
}

@media (max-width: 900px) {
  
  .worry-grid,
  .case-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card:last-child,
  .feature-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }

  .contact-banner {
    padding-left: 70px;
  }

  .contact-banner__visual {
    left: 15px;
  }

  .contact-banner__message {
    font-size: 25px;
  }

  .contact-banner__button {
    flex-basis: 310px;
    font-size: 18px;
  }
}

/*767px以下*/

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: initial;
  }
  
  .tablet-only {
    display: none;
  }

  .container {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 100px;
  }

  .site-header__inner {
    width: calc(100% - 40px);
  }

  .site-header__logo img {
   /* width: 190px;*/
    width: 100px;
  }

  .header-contact {
    gap: 0;
    width: 112px;
    min-height: 44px;
    font-size: 18px;
  }

  .header-contact img {
    display: none;
  }

  .hero__main {
    height: 612px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.12) 65%, rgba(255, 255, 255, 0.3) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.3) 67%, rgba(255, 255, 255, 0.08) 100%),
      url("../assets/images/hero/hero-background_pc.png");
    background-position: center, center, center center;
    background-size: 100% 100%, 100% 100%, auto 100%;
  }

  .hero__inner {
    width: calc(100% - 40px);
    padding-top: 24px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero__title {
    margin-bottom: 19px;
    font-size: clamp(25px, 7.18vw, 28px);
    line-height: 1.45;
    letter-spacing: 0.015em;
  }

  .hero__lead {
    margin-bottom: 14px;
    font-size: clamp(18px, 5.13vw, 20px);
    line-height: 1.56;
  }

  .hero__description {
    /*width: 300px;*/
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(15px, 4.1vw, 16px);
    line-height: 1.55;
  }

  .hero__desktop-button {
    display: none;
  }

  .hero__mobile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 98px;
    padding: 14px 20px;
    color: #ffffff;
    background: var(--blue);
    text-align: left;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 800;
  }

  .hero__mobile-button img {
    flex: 0 0 32px;
    width: 32px;
    height: 24px;
  }

  .section-heading,
  .decorated-heading {
    font-size: 28px;
    line-height: 1.5;
  }

  .decorated-heading {
    gap: 16px;
  }

  .decorated-heading > img {
    flex-basis: 40px;
    width: 40px;
  }

  .decorated-heading > span {
    flex: 0 1 auto;
  }

  .introduction {
    padding-top: 52px;
  }

  .introduction .decorated-heading {
    margin-bottom: 55px;
  }

  .worry-grid,
  .case-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .worry-grid {
    gap: 20px;
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .worry-card {
    min-height: 190px;
    padding: 17px 20px 18px;
    border-radius: 10px;
  }

  .worry-card img {
    height: 84px;
    margin-bottom: 12px;
  }

  .worry-card h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .introduction__lead {
    margin: 109px -5px 67px;
    font-size: 24px;
    line-height: 1.9;
  }

  .solution-panel {
    gap: 20px;
    padding: 30px 20px;
    border-radius: 10px;
  }

  .solution-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 340px;
    padding: 24px 19px 25px;
  }

  .solution-card > img {
    order: 2;
    align-self: center;
    width: 84px;
    max-height: 84px;
    margin: auto 0 0;
  }

  .solution-card__body {
    display: contents;
  }

  .solution-card h3 {
    order: 0;
    margin-bottom: 17px;
    font-size: 23px;
    line-height: 1.55;
  }

  .solution-card p {
    order: 1;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.92;
  }

  .cases {
    padding-top: 103px;
  }

  .cases .section-heading {
    margin-bottom: 53px;
  }

  .case-grid {
    gap: 20px;
    width: min(360px, calc(100% + 10px));
    margin-inline: auto;
  }

  .case-card:last-child,
  .feature-card:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .case-card__image {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  .case-card__body {
    padding: 13px 19px 27px;
  }

  .case-card h3 {
    font-size: 27px;
    line-height: 1.45;
  }

  .case-card__category {
    margin-bottom: 17px;
    font-size: 19px;
  }

  .tag-list {
    gap: 8px 6px;
  }

  .tag-list li {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 14px;
  }

  .wide-link-button {
    gap: 23px;
    width: min(320px, calc(100% - 20px));
    min-height: 104px;
    margin-top: 66px;
    padding: 20px 29px;
    text-align: left;
    font-size: 19px;
    line-height: 1.85;
  }

  .wide-link-button__arrow {
    flex-basis: 13px;
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .features {
    padding-top: 92px;
  }

  .decorated-heading--feature {
    margin-inline: -7px;
    margin-bottom: 43px;
    gap: 10px;
    font-size: 27px;
    line-height: 1.48;
  }

  .feature-grid {
    gap: 20px;
    width: min(340px, 100%);
    margin-inline: auto;
  }

  .feature-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    min-height: 230px;
    padding: 36px 20px 31px;
  }

  .feature-card > img {
    width: 92px;
    max-height: 120px;
  }

  .feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 1.55;
  }

  .feature-card p {
    font-size: 18px;
    line-height: 1.9;
  }

  .faq {
    padding-top: 104px;
  }

  .faq .section-heading {
    margin-bottom: 53px;
  }

  .faq-list {
    gap: 20px;
    width: min(320px, 100%);
  }

  .faq-question {
    grid-template-columns: 50px minmax(0, 1fr) 20px;
    gap: 17px;
    min-height: 140px;
    padding: 22px 18px 22px 25px;
    border-radius: 7px;
  }

  .faq-question > span {
    font-size: 18px;
    line-height: 1.8;
  }

  .faq-answer {
    padding: 20px;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-section {
    padding-top: 105px;
  }

  .contact-banner {
    display: block;
    width: min(340px, calc(100% - 40px));
    min-height: 320px;
    padding: 32px 25px 22px;
  }

  .contact-banner__visual {
    top: 26px;
    right: 25px;
    bottom: auto;
    left: auto;
    width: 105px;
    height: 198px;
    opacity: 0.27;
  }

  .contact-banner__message {
    width: 270px;
    max-width: 100%;
    margin-bottom: 9px;
    font-size: 25px;
    line-height: 1.68;
  }

  .contact-banner__button {
    width: 100%;
    min-height: 96px;
    padding: 16px 18px;
    gap: 14px;
    font-size: 18px;
    line-height: 1.65;
  }

  .site-footer {
    padding-top: 100px;
  }

  .site-footer__inner {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0 20px 54px;
  }

  .site-footer__logo img {
    /* width: 250px; */
    width: 180px;
  }

  .footer-nav {
    margin-top: 31px;
  }

  .footer-nav a {
    min-height: 39px;
    padding-inline: 11px;
    font-size: 16px;
    line-height: 1.4;
  }

  .footer-nav a:first-child {
    padding-left: 0;
  }

  .footer-nav a:last-child {
    padding-right: 0;
  }

  .copyright {
    min-height: 110px;
    padding: 20px 15px;
    font-size: 12px;
  }
}

/*359px以下*/

@media (max-width: 359px) {
  .site-header__inner,
  .hero__inner,
  .container {
    width: calc(100% - 28px);
  }

  .site-header__logo img {
    width: 165px;
  }

  .header-contact {
    width: 102px;
    font-size: 16px;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__description {
    font-size: 14px;
  }

  .decorated-heading {
    gap: 8px;
    font-size: 25px;
  }

  .decorated-heading > img {
    flex-basis: 32px;
    width: 32px;
  }

  .solution-panel {
    padding-inline: 14px;
  }

  .solution-card {
    padding-inline: 15px;
  }

  .case-grid {
    width: 100%;
  }

  .feature-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    padding-inline: 16px;
  }

  .feature-card > img {
    width: 78px;
  }

  .faq-question {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 12px;
    padding-inline: 16px;
  }

  .faq-question > img:first-child {
    width: 44px;
    height: 44px;
  }

  .contact-banner {
    width: calc(100% - 28px);
  }

  .footer-nav a {
    padding-inline: 8px;
    font-size: 14px;
  }
}

/* Design fidelity adjustments */
body {
  font-feature-settings: normal;
}


@media (min-width: 768px) {
  .primary-button {
    /*min-width: 545px;*/
    min-width: 320px;
  }

  .introduction .decorated-heading {
    margin-bottom: 58px;
  }

  .worry-grid {
    width: min(1180px, 100%);
    margin-inline: auto;
  }

  .introduction__lead {
    margin-top: 108px;
  }

  .solution-panel {
    width: calc(100% - 20px);
    margin-inline: auto;
  }

  .case-grid {
    width: min(1160px, 100%);
    margin-inline: auto;
  }

  .wide-link-button {
    margin-top: 34px;
  }

  .feature-card {
    gap: 17px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  .hero__main {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.08) 68%, rgba(255, 255, 255, 0.22) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 68%, rgba(255, 255, 255, 0.02) 100%),
      url("../assets/images/hero/hero_background_sp.png");
    background-position: center, center, center;
    background-size: 100% 100%, 100% 100%, 100% 100%;
  }

  .introduction .decorated-heading {
    margin-bottom: 25px;
  }

  .solution-panel {
    width: 100%;
  }

  .solution-card:first-child {
    min-height: 320px;
  }

  .cases {
    padding-top: 122px;
  }

  .cases .section-heading {
    margin-bottom: 44px;
  }

  .case-grid {
    width: min(360px, calc(100vw - 30px));
  }

  .case-card {
    min-height: 510px;
  }

  .case-card__image {
    width: calc(100% - 28px);
  }

  .decorated-heading--feature {
    position: relative;
    display: block;
    margin-bottom: 31px;
    padding-inline: 28px;
    font-size: 26px;
    letter-spacing: 0;
  }

  .decorated-heading--feature > img {
    position: absolute;
    top: 50%;
    width: 40px;
    transform: translateY(-50%);
  }

  .decorated-heading--feature > img:first-child {
    left: 0;
  }

  .decorated-heading--feature > img:last-child {
    right: 0;
  }

  .feature-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
  }

  .feature-card > img {
    width: auto;
    max-width: 80px;
    justify-self: center;
  }
}

/* Final alignment adjustments */
@media (min-width: 768px) {
  body {
    font-feature-settings: "palt";
  }

  .worry-card {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .worry-card img {
    margin-bottom: 12px;
  }

  .introduction__lead {
    margin-top: 123px;
  }

  .tag-list li {
    padding: 9px 11px;
    font-size: 16px;
    line-height: 1.3;
  }

  .wide-link-button {
    margin-top: 90px;
  }

  .decorated-heading--feature {
    margin-bottom: 59px;
  }

  .faq {
    padding-top: 115px;
  }

  .faq .section-heading {
    margin-bottom: 66px;
  }
}

@media (max-width: 767px) {
  .hero__main {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.12) 68%, rgba(255, 255, 255, 0.25) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.16) 68%, rgba(255, 255, 255, 0.04) 100%),
      url("../assets/images/hero/hero_background_sp.png");
  }

  .solution-card p {
    line-height: 1.82;
  }

  .wide-link-button {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .decorated-heading--feature {
    margin-bottom: 40px;
  }

  .decorated-heading--feature > span {
    display: inline-block;
    transform: scaleX(0.9);
  }

  .feature-card:nth-child(2) {
    min-height: 268px;
    padding-bottom: 11px;
  }

  .feature-card:nth-child(3) {
    min-height: 255px;
  }

  .contact-banner__message {
    line-height: 1.61;
    font-feature-settings: "palt";
  }

  .contact-banner__button {
    width: min(280px, 100%);
  }

  .site-footer {
    padding-top: 108px;
  }

  .footer-nav {
    margin-top: 27px;
  }
}

/* Tablet footer fit */
@media (min-width: 768px) and (max-width: 900px) {
  .footer-nav a {
    padding-inline: 15px;
    font-size: 16px;
  }
}

/* Mobile vertical rhythm */
@media (max-width: 767px) {
  .contact-section {
    padding-top: 97px;
  }

  .site-footer__inner {
    padding-bottom: 52px;
  }

  .copyright {
    min-height: 100px;
  }
}


@media (min-width: 768px) {
  .site-footer {
    padding-top: 90px;
  }
}

/* Hero image replacement */
.hero__main {
  background-image: url("../assets/images/hero/hero-background_pc.png");
  /*background-position: center top;*/
  /*background-size: auto 700px;*/
  background-position: center;
  background-size: cover;
}

.hero-case {
  position: absolute;
  bottom: 0;
  z-index: 0;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-case1 {
  left: calc(50% + min(3.333333vw, 48px));
  width: min(20.347222vw, 293px);
}

.hero-case2 {
  left: calc(50% + min(24.375vw, 351px));
  width: min(17.291667vw, 249px);
}

@media (max-width: 767px) {
  .hero__main {
    background-image: url("../assets/images/hero/hero_background_sp.png");
    background-position: center;
    /*background-size: 390px 700px;*/
  }

  .hero-case1 {
    left: calc(50% - min(21.025641vw, 82px));
    width: min(36.410256vw, 142px);
  }

  .hero-case2 {
    bottom: -2px;
    left: calc(50% + min(15.384615vw, 60px));
    width: min(27.692308vw, 108px);
  }
}

/*animation*/

/* 下からフェードイン(初期値) */
.js-fadeUp,.js-fadeUpSlow {
  opacity: 0; 
  transform: translateY(30px); /* 下に30pxの位置から */
  transition: opacity .8s, transform .8s; /* 透過率と縦方向の移動を0.8秒 */
}
/* 下からフェードイン(スクロールした後) */
.js-fadeUp.is-inview {
  opacity: 1;
  transform: translateY(0); /* 30px上に移動する */
  transition-delay: 0s;
}
.js-fadeUpSlow.is-inview {
  opacity: 1;
  transform: translateY(0); /* 30px上に移動する */
  transition-delay: .5s;
}
/* 左からフェードイン(初期値) */
.js-fadeIn,.js-fadeInSlow {
  opacity: 0; 
  transform: translateX(-100px); /* 左に100pxの位置から */
  transition: opacity .8s, transform .8s; /* 透過率と縦方向の移動を0.8秒 */
}
/* 左からフェードイン(スクロールした後) */
.js-fadeIn.is-inview {
  opacity: 1;
  transform: translateX(0); /* 100px右に移動する */
  transition-delay: 0s;
}
.js-fadeInSlow.is-inview {
  opacity: 1;
  transform: translateX(0); /* 100px右に移動する */
  transition-delay: .5s;
}