/* =========================================================
   welfare.html
   MANAMI-LMS 福祉事業所向け詳細ページ
   ---------------------------------------------------------
   Front page design rules
   - Base width : 1920px
   - Main container : 1200px
   - Common section padding : 120px
   - Main spacing units : 32 / 50 / 100 / 120px
   - Card radius : 10px
   - Body font : Noto Sans JP
   ========================================================= */


/* =========================================================
   01. Variables
   ========================================================= */

.welfare-page {
  --welfare-blue: #007aff;
  --welfare-blue-deep: #163663;
  --welfare-blue-ink: #0062ff;
  --welfare-orange: #f15a24;
  --welfare-yellow: #f9da23;
  --welfare-cream: #f9f9f4;
  --welfare-ink: #00070c;
  --welfare-muted: #727171;

  --welfare-container: 1200px;
  --welfare-content: 968px;
  --welfare-card: 368px;

  --welfare-radius: 10px;
}


/* =========================================================
   02. Base
   ========================================================= */

.welfare-page {
  color: var(--welfare-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.welfare-page :where(h1, h2, h3, p, ul, dl, dd) {
  margin-top: 0;
}

.welfare-page ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.welfare-page a {
  text-decoration: none;
}

.welfare-page :where(a, button):focus-visible {
  outline: 3px solid var(--welfare-yellow);
  outline-offset: 4px;
}


/* =========================================================
   03. Common container
   ========================================================= */

.welfare-container,
.welfare-header-inner,
.welfare-hero-inner {
  width: var(--welfare-container);
  max-width: calc(100% - 32px);
  margin-inline: auto;
}


/* =========================================================
   04. Skip link
   ========================================================= */

.welfare-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;

  padding: 9px 16px;

  background: #ffffff;
  color: var(--welfare-ink);

  font-size: 14px;
  font-weight: 700;

  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.welfare-skip-link:focus {
  transform: translateY(0);
}


/* =========================================================
   05. Header
   ========================================================= */

.welfare-header {
  position: relative;
  z-index: 10;
  background-color: var(--welfare-blue);
}

.welfare-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  min-height: 96px;
}

.welfare-logo {
  display: block;
  line-height: 0;
}

.welfare-logo img {
  display: block;
  width: 205px;
  height: auto;
}

.welfare-menu-button {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.welfare-menu-button img {
  display: block;
  width: 40px;
  height: 40px;
}

/* =========================================================
   06. Buttons
   ========================================================= */

.welfare-button {
  display: inline-block;

  border-radius: 100vmax;

  font-weight: 900;
  text-align: center;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.welfare-button:hover {
  transform: translateY(-2px);
}

.welfare-button {
  min-width: 368px;

  padding: 15px 30px;

  font-size: 16px;
  line-height: 1.5;
}

.welfare-button-orange {
  background-color: var(--welfare-orange);
  color: #ffffff;
}

.welfare-button-dark {
  background-color: var(--welfare-blue-deep);
  color: #ffffff;
}


/* =========================================================
   07. Hero
   ========================================================= */

.welfare-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--welfare-blue);
}

.welfare-hero-inner {
  display: flex;

  justify-content: center;
  align-items: center;

  min-height: 540px;
}

.welfare-hero-copy {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 968px;

  margin-inline: auto;

  text-align: center;
}

.welfare-kicker,
.welfare-hero .welfare-kicker {
  margin-bottom: 22px;

  color: var(--welfare-yellow);

  font-size: 14px;
  font-weight: 900;
  line-height: 1.8;
}

.welfare-hero h1 {
  margin-bottom: 0;

  color: #ffffff;

  font-size: 42px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.welfare-hero h1 span,
.welfare-cta h2 span {
  color: var(--welfare-yellow);

  font-family: "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.welfare-hero-lead {
  margin: 28px 0 35px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}


/* =========================================================
   08. Section common
   ========================================================= */

.welfare-section {
  padding-block: 120px;
}


/*
 * 業種別ページ共通の見出しスタイルは
 * css/industry-page.css で定義する。
 */

.welfare-heading-group {
  margin-bottom: 0;
}

.welfare-heading-animations-ready .welfare-heading-group .industry-heading-kicker,
.welfare-heading-animations-ready .welfare-heading-group .industry-heading,
.welfare-heading-animations-ready .welfare-heading-group::after {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.welfare-heading-animations-ready .welfare-heading-group .industry-heading {
  transition-delay: 0.1s;
}

.welfare-heading-animations-ready .welfare-heading-group::after {
  transition-delay: 0.2s;
}

.welfare-heading-animations-ready .welfare-heading-group.is-heading-visible .industry-heading-kicker,
.welfare-heading-animations-ready .welfare-heading-group.is-heading-visible .industry-heading,
.welfare-heading-animations-ready .welfare-heading-group.is-heading-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.welfare-page .industry-heading,
.welfare-page .industry-heading span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.45;
}

.welfare-page .industry-heading span {
  color: var(--welfare-blue-ink);
}


/* Overview heading orange line */

.welfare-page .welfare-overview .industry-heading-kicker::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}


/* =========================================================
   09. Concerns
   ========================================================= */

.welfare-concerns {
  padding: 120px 0;

  background-color: var(--welfare-cream);
}

.welfare-concern-grid {
  display: grid;

  grid-template-columns: repeat(2, 368px);
  justify-content: center;

  gap: 80px 32px;

  margin-top: 100px;

  list-style: none;
  padding: 0;
}

.welfare-concern-grid li {
  position: relative;

  min-height: 180px;

  padding: 70px 40px 40px;

  border-radius: var(--welfare-radius);

  background-color: #ffffff;

  text-align: center;
}

.welfare-concern-grid li > span {
  display: block;

  width: 64px;
  height: 64px;

  padding-top: 15px;

  border: 3px solid var(--welfare-blue-ink);
  border-radius: 100vmax;

  background-color: var(--welfare-blue-ink);
  color: #ffffff;

  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  position: absolute;
  top: -32px;
  left: 50%;

  transform: translateX(-50%);
}

.welfare-concern-grid li > p {
  margin: 0;

  color: var(--welfare-ink);

  font-size: 16px;
  font-weight: 500;
  line-height: 2.28;
}


/* =========================================================
   10. Overview
   ========================================================= */

.welfare-overview {
  padding-bottom: 66px;

  background-color: #ffffff;
}

.welfare-overview-layout {
  display: grid;

  grid-template-columns: 1fr;
  gap: 32px;

  justify-items: center;

  text-align: center;
}

.welfare-overview-copy {
  max-width: 680px;

  margin-bottom: 0;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}


/* =========================================================
   11. Functions
   ========================================================= */

.welfare-functions {
  padding: 0 0 120px;

  background-color: #ffffff;
}

.welfare-function-grid {
  display: grid;

  grid-template-columns: repeat(2, 368px);
  justify-content: center;

  gap: 100px 32px;
}

.welfare-function-card {
  position: relative;

  min-height: 305px;

  padding: 100px 40px 50px;

  border-radius: var(--welfare-radius);

  background-color: var(--welfare-blue);
  color: #ffffff;

  text-align: center;
}

.welfare-function-number {
  display: block;

  width: 80px;
  height: 80px;

  padding-top: 20px;

  border: 3px solid var(--welfare-blue-ink);
  border-radius: 100vmax;

  background-color: #ffffff;
  color: var(--welfare-orange);

  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;

  position: absolute;
  top: -40px;
  left: 50%;

  transform: translateX(-50%);
}

.welfare-function-card h3 {
  margin: 0 0 18px;

  color: var(--welfare-yellow);

  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}

.welfare-function-subtitle {
  margin: 0 0 38px;

  padding-bottom: 38px;

  color: #ffffff;

  font-size: 27px;
  font-weight: 900;
  line-height: 1.45;

  position: relative;
}

.welfare-function-subtitle::after {
  content: "";

  display: block;

  width: 115px;
  height: 2px;

  background-color: #ffffff;

  position: absolute;
  bottom: 0;
  left: 50%;

  transform: translateX(-50%);
}

.welfare-function-card > p:last-of-type {
  margin-bottom: 0;

  color: #ffffff;

  font-size: 16px;
  font-weight: 500;
  line-height: 2.28;
}

.welfare-function-note {
  display: inline-block;

  margin-top: 18px;

  padding: 3px 12px;

  border-radius: 100vmax;

  background-color: #ffffff;
  color: var(--welfare-blue-ink);

  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
}


/* =========================================================
   12. Content set
   ========================================================= */

.welfare-content-set {
  background-color: var(--welfare-cream);
}

.welfare-content-set-layout {
  display: grid;

  grid-template-columns: 568px 368px;
  justify-content: center;

  gap: 64px;

  align-items: center;
}

.welfare-content-set-copy > p {
  max-width: 568px;

  margin: 34px 0 0;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.welfare-theme-panel {
  padding: 50px 40px;

  border-radius: var(--welfare-radius);

  background-color: var(--welfare-blue-deep);
}

.welfare-theme-panel h3 {
  margin-bottom: 0;

  color: #ffffff;

  font-size: 27px;
  font-weight: 900;
  line-height: 1.45;
}

.welfare-theme-panel ul {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}

.welfare-theme-panel li {
  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 100vmax;

  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}


/* =========================================================
   13. Pricing
   ========================================================= */

.welfare-pricing-layout {
  width: 1000px;
  max-width: 100%;
  margin-inline: auto;

  display: grid;

  grid-template-columns: 568px 368px;
  gap: 64px;

  align-items: center;
}

.welfare-price-card {
  padding: 40px;

  border: 3px solid var(--welfare-blue);
  border-radius: var(--welfare-radius);

  background-color: #ffffff;
}

.welfare-price-card h3 {
  margin-bottom: 0;

  color: var(--welfare-ink);

  font-size: 27px;
  font-weight: 900;
  line-height: 1.5;
}

.welfare-price-card h3 span {
  margin-left: 9px;

  color: var(--welfare-muted);

  font-size: 14px;
  font-weight: 700;
}

.welfare-price-total {
  display: flex;

  align-items: baseline;
  flex-wrap: wrap;

  gap: 8px;

  margin: 18px 0 0;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.welfare-price-total strong {
  color: var(--welfare-blue-ink);

  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.welfare-price-total small {
  color: var(--welfare-muted);

  font-size: 12px;
  font-weight: 500;
}

.welfare-price-card dl {
  display: grid;

  gap: 13px;

  margin: 28px 0 0;
  padding-top: 22px;

  border-top: 1px solid #dedfe2;
}

.welfare-price-card dl div {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  font-size: 16px;
  line-height: 1.8;
}

.welfare-price-card dt {
  font-weight: 500;
}

.welfare-price-card dd {
  margin: 0;

  font-weight: 900;
}

.welfare-price-note {
  margin: 20px 0 0;

  color: var(--welfare-muted);

  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}


/* =========================================================
   14. CTA
   ========================================================= */

.welfare-cta {
  padding: 90px 0;

  background-color: var(--welfare-yellow);
}

.welfare-cta-inner {
  width: 1000px;
  max-width: 100%;
  margin-inline: auto;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 50px;
}

.welfare-cta-inner > div {
  width: 568px;
}

.welfare-cta .welfare-kicker {
  margin-bottom: 18px;

  color: var(--welfare-blue-ink);
}

.welfare-cta h2 {
  margin-bottom: 0;

  font-size: 38px;
}

.welfare-cta h2,
.welfare-cta h2 span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.45;
}

.welfare-cta h2 span {
  color: var(--welfare-blue-ink);
}

.welfare-cta p:last-child {
  max-width: 680px;

  margin: 19px 0 0;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}


/* =========================================================
   15. Footer
   ---------------------------------------------------------
   Front page footer specification
   ========================================================= */

.welfare-footer {
  padding: 90px 0 15px;

  background-color: #f9fafb;

  text-align: center;
}

.welfare-footer .industry-logo-mark {
  display: inline-block;

  width: 205.4583px;
  height: auto;

  margin-bottom: 40px;
}

.welfare-footer > .welfare-container > p {
  margin-bottom: 15px;

  color: var(--welfare-ink);

  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

.welfare-footer > .welfare-container > p:nth-of-type(4) {
  margin-bottom: 80px;
}

.welfare-footer .footer_menu {
  display: flex;

  justify-content: center;
}

.welfare-footer .footer_menu > a:nth-of-type(1) {
  border-right: 1px solid var(--welfare-ink);

  padding-right: 5px;
}

.welfare-footer .footer_menu > a:nth-of-type(2) {
  padding-left: 5px;
}

.welfare-copyright {
  padding-block: 43px;

  border-top: 1px solid #e5e7eb;

  text-align: center;
}

.welfare-copyright p {
  color: var(--welfare-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
}


/* =========================================================
   16. Accessibility
   ========================================================= */

.welfare-visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* =========================================================
   17. Tablet
   ---------------------------------------------------------
   Front page's actual breakpoint philosophy:
   1199pxから段階的に縮小。
   ここではいきなり全部1カラムにしない。
   ========================================================= */

@media screen and (max-width: 1199px) {

  .welfare-container,
  .welfare-header-inner,
  .welfare-hero-inner {
    width: min(100% - 32px, 1200px);
  }

  .welfare-section {
    padding-block: 100px;
  }

  .welfare-hero {
    padding: 70px 0 90px;
  }

  .welfare-hero h1 {
    font-size:
      clamp(
        36px,
        calc(42 / 1199 * 100vw),
        42px
      );
  }

  .welfare-hero-lead {
    font-size: 16px;
  }

  .welfare-concern-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(280px, 368px)
      );

    margin-top: 80px;
  }

  .welfare-overview-layout {
    grid-template-columns: 1fr;

    gap: 32px;

    justify-items: center;

    text-align: center;
  }

  .welfare-overview-copy {
    max-width: 680px;
  }

  .welfare-function-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(280px, 368px)
      );
  }

  .welfare-content-set-layout {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(300px, 368px);

    gap: 50px;
  }

  .welfare-pricing-layout {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(360px, 1fr);

    gap: 50px;
  }

  .welfare-cta {
    padding: 80px 0;
  }

  .welfare-cta h2 {
    font-size:
      clamp(
        30px,
        calc(38 / 1199 * 100vw),
        38px
      );
  }

}


/* =========================================================
   18. Mid size
   ========================================================= */

@media screen and (max-width: 1024px) {

  .welfare-hero h1 {
    font-size: 36px;
  }

  .welfare-hero-lead {
    font-size: 15px;
  }

  .welfare-button {
    min-width: 320px;
  }

  .welfare-overview-layout {
    gap: 32px;
  }

  .welfare-content-set-layout {
    gap: 32px;
  }

  .welfare-pricing-layout {
    gap: 32px;
  }

  .welfare-price-card {
    padding: 35px 30px;
  }

  .welfare-price-total strong {
    font-size: 48px;
  }

}


/* =========================================================
   19. Small tablet
   ========================================================= */

@media screen and (max-width: 899px) {

  .welfare-hero-copy {
    max-width: 680px;

    margin-inline: auto;

    text-align: center;
  }

  .welfare-overview-layout,
  .welfare-content-set-layout,
  .welfare-pricing-layout {
    grid-template-columns: 1fr;
  }

  .welfare-overview-copy,
  .welfare-content-set-copy > p {
    max-width: 680px;
  }

  .welfare-theme-panel {
    width: min(100%, 568px);

    margin-inline: auto;
  }

  .welfare-price-card {
    width: min(100%, 568px);

    margin-inline: auto;
  }

  .welfare-cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* =========================================================
   20. Mobile
   ========================================================= */

@media screen and (max-width: 519px) {

  .welfare-container,
  .welfare-header-inner,
  .welfare-hero-inner {
    width: calc(100% - 32px);
  }

  .welfare-header-inner {
    min-height: 74px;
  }

  .welfare-logo img {
    width: 165px;
  }


  /* Hero */

  .welfare-hero {
    padding: 55px 0 70px;
  }

  .welfare-hero-copy {
    text-align: center;
  }

  .welfare-kicker,
  .welfare-hero .welfare-kicker {
    margin-bottom: 18px;

    font-size: 13px;
  }

  .welfare-hero h1 {
    font-size:
      clamp(
        28px,
        8vw,
        36px
      );

    line-height: 1.5;
  }

  .welfare-hero-lead {
    margin: 24px 0 30px;

    font-size: 14px;
    line-height: 1.8;
  }

  .welfare-hero-lead br {
    display: none;
  }

  .welfare-button {
    width: 100%;
    min-width: 0;

    padding: 14px 20px;

    font-size: 15px;
  }


  /* Section */

  .welfare-section {
    padding-block: 80px;
  }

  .industry-heading {
    font-size:
      clamp(
        20px,
        6.2vw,
        24px
      );

    line-height: 1.45;
  }

  .industry-heading-kicker {
    font-size: 13px;
  }


  /* Concerns */

  .welfare-concerns {
    padding: 80px 0;
  }

  .welfare-concern-grid {
    grid-template-columns: 1fr;

    gap: 80px 0;

    margin-top: 80px;
  }

  .welfare-concern-grid li {
    min-height: auto;

    padding: 70px 26px 40px;
  }

  .welfare-concern-grid li > span {
    width: 64px;
    height: 64px;

    padding-top: 15px;

    font-size: 30px;
  }

  .welfare-concern-grid li > p {
    font-size: 14px;

    line-height: 1.8;
  }


  /* Overview */

  .welfare-overview {
    padding-bottom: 60px;
  }

  .welfare-overview-layout {
    gap: 28px;

    justify-items: center;

    text-align: center;
  }

  .welfare-overview-copy {
    max-width: 100%;

    font-size: 15px;
  }


  /* Functions */

  .welfare-functions {
    padding-bottom: 80px;
  }

  .welfare-function-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .welfare-function-card {
    min-height: auto;

    padding: 35px 26px 30px;
  }

  .welfare-function-card h3 {
    margin-top: 18px;

    font-size: 22px;

    line-height: 1.5;
  }

  .welfare-function-subtitle {
    font-size: 14px;
  }

  .welfare-function-card > p:last-of-type {
    font-size: 14px;

    line-height: 1.8;
  }


  /* Content set */

  .welfare-content-set-copy > p {
    margin-top: 30px;

    font-size: 14px;
  }

  .welfare-theme-panel {
    padding: 32px 24px;
  }

  .welfare-theme-panel h3 {
    font-size: 22px;
  }

  .welfare-theme-panel ul {
    gap: 10px;

    margin-top: 25px;
  }

  .welfare-theme-panel li {
    font-size: 12px;
  }


  /* Pricing */

  .welfare-price-card {
    padding: 30px 24px;
  }

  .welfare-price-card h3 {
    font-size: 21px;
  }

  .welfare-price-card h3 span {
    font-size: 12px;
  }

  .welfare-price-total {
    margin-top: 15px;
  }

  .welfare-price-total strong {
    font-size:
      clamp(
        40px,
        12vw,
        52px
      );
  }

  .welfare-price-card dl {
    margin-top: 25px;
  }

  .welfare-price-card dl div {
    font-size: 14px;
  }


  /* CTA */

  .welfare-cta {
    padding: 70px 0;
  }

  .welfare-cta-inner {
    gap: 32px;
  }

  .welfare-cta h2 {
    font-size:
      clamp(
        24px,
        7vw,
        30px
      );
  }

  .welfare-cta p:last-child {
    font-size: 14px;
  }


  /* Footer */

  .welfare-footer {
    padding: 90px 0 15px;
  }

  .welfare-footer .industry-logo-mark {
    width: 205.4583px;
  }

  .welfare-footer > .welfare-container > p {
    font-size: 16px;
  }

  .welfare-footer > .welfare-container > p:nth-of-type(4) {
    margin-bottom: 80px;
  }

}


/* =========================================================
   21. Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .welfare-page *,
  .welfare-page *::before,
  .welfare-page *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;
  }

}
