@charset "UTF-8";

/* 共通部分 */
:root {
  --color-text-dark: #3b3b3b;
  --color-text-light: #ffffff;
  --color-bg: #f6f5f4;

  --color-accent-primary: #587dc2;
  --color-accent-secondary: #bbcdef;

  --color-accent-primary-bg: #587dc226;

  --color-accent-emphasis: #ff5757;
  --color-accent-emphasis-bg: #ff575727;

  --color-consumer-primary: #f09a0a;
  --color-consumer-secondary: #f8cf8a;
  --color-consumer-hover: #fffcf6;
  --color-enterprise-primary: #0a98f0;
  --color-enterprise-secondary: #89cdf8;
  --color-enterprise-hover: #eef9ff;

  --color-separator: #0000001a;

  --color-bg-floating: #ffffff;

  --shadow-drop: 0 0 20px 0 #0000000d;

  --radius-l: 30px;
  --radius-m: 20px;
  --radius-s: 10px;

  --font-xl: 28px;
  --font-l: 24px;
  --font-m: 18px;
  --font-s: 16px;
  --font-xs: 11px;

  --weight-s: 500;
  --weight-m: 600;
  --weight-l: 700;

  --duration: 0.35s;
  --easing: ease;

  --max-width-l: 1440px;
  --max-width-m: 1080px;

  --icon-btn-arrow: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M320,64c141.29,0 256,114.71 256,256c0,141.29 -114.71,256 -256,256c-141.29,0 -256,-114.71 -256,-256c0,-141.29 114.71,-256 256,-256Zm109.809,270.441c5.295,-2.873 8.62,-8.415 8.62,-14.449c0,-6.034 -3.325,-11.575 -8.62,-14.449l-164.19,-88.663c-5.09,-2.75 -11.247,-2.627 -16.214,0.328c-4.967,2.955 -8.004,8.333 -8.004,14.12l0,177.325c0,5.788 3.038,11.124 8.004,14.12c4.967,2.996 11.124,3.079 16.214,0.328l164.19,-88.663Z"/></svg>');
}

@media screen and (max-width: 1299px) {
  :root {
    --radius-l: 20px;
    --radius-m: 15px;
    --radius-s: 10px;

    --font-xl: 20px;
    --font-l: 18px;
    --font-m: 15px;
    --font-s: 14px;
    --font-xs: 8px;
  }
}

/* 共通部分 URL等が印刷されるように足した */
@media print {
    @page {
        margin-top: 30mm; /* ヘッダーの高さ＋α */
        margin-bottom: 30mm; /* フッターの高さ＋α */
    }
}
/* ここまで　 */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif, "Noto Sans JP";
  font-feature-settings: "palt";
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  font-size: var(--font-m);
  color: var(--color-text-dark);
}

*:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

button {
  all: unset;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #fffefc;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

body.menu-open,
html.menu-open {
  overflow: clip;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
}

.weight-regular {
  font-weight: 400;
}

.weight-s {
  font-weight: var(--weight-s);
}

.weight-m {
  font-weight: var(--weight-m);
}

.weight-l {
  font-weight: var(--weight-l);
}

.color-emphasis {
  color: var(--color-accent-emphasis);
}

.indent {
  padding-left: 1rem;
}

@media print {
  html {
    position: absolute;
    width: 100%;
    zoom: 0.5;
    margin-left: -0%;
  }
}

/* 自動スクロールした際の表示位置 */

section[id] {
  scroll-margin-top: 120px;
}

/* SVGアイコン */

.mask-icon-before::before,
.mask-icon-after::after,
.btn::after,
.btn-arrow::after,
.grid-list > a::after,
.breadcrumb > ul > li + li::before,
summary::after,
.sitemap-list > li > a::after,
.sitemap-list > li > ul > li > a::before {
  content: "";
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

/* ボタン */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-primary);
  color: var(--color-text-light);
  padding: 14px 34px 14px 38px;
  border-radius: 30px;
  font-weight: var(--weight-l);
  justify-content: space-between;
  line-height: 1.3;
}

.btn::after {
  background-color: var(--color-text-light);
}

.btn::after,
.btn-arrow::after,
.grid-list > a::after,
.sitemap-list > li > a::after {
  -webkit-mask-image: var(--icon-btn-arrow);
  mask-image: var(--icon-btn-arrow);
  width: 28px;
  height: 28px;
}

.btn > .pdf::after {
  color: inherit;
}

.btn.icon {
  font-weight: var(--weight-m);
  padding-top: 7px;
  padding-bottom: 7px;
  text-align: center;
}

.btn.icon > img {
  width: 44px;
}

.btn > p,
.btn span {
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.btn span {
  display: inline-block;
}

.btn.disable {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 1299px) {
  .btn {
    padding: 10px 20px 10px 28px;
  }

  .btn::after,
  .btn-arrow::after,
  .grid-list > a::after,
  .sitemap-list > li > a::after {
    width: 24px;
    height: 24px;
  }

  .btn.icon {
    padding-left: 20px;
    padding-right: 24px;
  }

  .btn.icon > img {
    width: 40px;
  }
}

/* 最大幅の設定 */
.inner-wide {
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 60px;
}

@media screen and (max-width: 1299px) {
  .inner-wide {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 949px) {
  .inner {
    padding: 0 24px;
  }

  .inner-wide {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 境界線の波線 */

.top-wave::before,
.bottom-wave::after {
  content: "";
  background-size: auto 60px;
  background-repeat: repeat-x;
  background-position: center;
  width: 100%;
  height: 60px;
  display: block;
  position: absolute;
}

.top-wave::before {
  top: 0;
}

.bottom-wave::after {
  bottom: 0;
}

@media screen and (max-width: 1299px) {
  .top-wave::before,
  .bottom-wave::after {
    background-size: 1400px 40px;
    height: 40px;
  }
}

@media screen and (max-width: 949px) {
  .top-wave::before,
  .bottom-wave::after {
    background-size: 600px 20px;
    height: 20px;
  }
}

/* ホバー時の動作 */

.hover-btn:hover,
.btn:hover,
summary:hover {
  opacity: 0.8;
}

.hover-solid:hover,
.grid-list > a:hover,
.sitemap-list > li > a:hover {
  box-shadow: inset 0 0 0 3px var(--color-accent-secondary) !important;
}

.hover-underline:hover {
  text-decoration: underline;
}

.hover-color:hover {
  color: var(--color-accent-primary);
}

.hover-bg:hover {
  background-color: #587dc203 !important;
}

/* ドット下線 */

.dotted-underline {
  position: relative;
  display: inline-block;
}

.dotted-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='3' height='2' rx='1' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 6px 2px;
}

/* ヘッダー */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-top: 28px;
}

header > .bg {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150%;
  background-color: #fffefccc;
  backdrop-filter: blur(300px);
  -webkit-backdrop-filter: blur(300px);
  mask: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
  -webkit-mask: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration) var(--easing);
  z-index: -1;
  pointer-events: none;
}

header.scrolled > .bg {
  opacity: 1;
}

header > div:first-of-type > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header > div:first-of-type > div > a {
  position: relative;
  z-index: 1;
}

header > div:first-of-type > div > a > img {
  height: 52px;
}

header > div:first-of-type > div > a > div {
  display: flex;
  position: absolute;
  left: 52px;
  bottom: -5px;
}

header > div:first-of-type > div > a > div > p {
  font-size: var(--font-xs);
  font-weight: 500;
  color: #01007e;
}

header > div:first-of-type > div > a > div > p:first-child {
  margin-right: 2px;
}

header > div:first-of-type > div > div {
  display: flex;
  gap: 52px;
}

header > div:first-of-type > div > div > div:first-child {
  display: flex;
  align-items: center;
  gap: 28px;
}

header > div:first-of-type > div > div > div:first-child > a {
  display: flex;
  align-items: center;
  font-size: var(--font-s);
  font-weight: var(--weight-s);
  gap: 2px;
  transition: background-color var(--duration) var(--easing);
  position: relative;
}

header > div:first-of-type > div > div > div:first-child > a > img {
  height: 16px;
}

header > div:first-of-type > div > div > div:last-of-type {
  display: flex;
  gap: 12px;
}

header > div:first-of-type > div > div > div:last-of-type > a {
  display: flex;
  gap: 4px;
  align-items: center;
  border-radius: 15px;
  padding: 4px 28px 4px 20px;
  background-color: #ffffff;
  border: 3px solid var(--color-consumer-secondary);
}

header > div:first-of-type > div > div > div:last-of-type > a:last-of-type {
  border-color: var(--color-enterprise-secondary);
}

header > div:first-of-type > div > div > div:last-of-type > a:first-of-type:hover {
  background-color: var(--color-consumer-hover);
}

header > div:first-of-type > div > div > div:last-of-type > a:last-of-type:hover {
  background-color: var(--color-enterprise-hover);
}

header > div:first-of-type > div > div > div:last-of-type > a > img {
  height: 40px;
}

header > div:first-of-type > div > div > div:last-of-type > a > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header > div:first-of-type > div > div > div:last-of-type > a > div > p {
  font-weight: var(--weight-m);
  color: var(--color-consumer-primary);
  font-size: var(--font-s);
  line-height: 1.15;
}

header > div:first-of-type > div > div > div:last-of-type > a > div > p:first-child {
  font-size: var(--font-xs);
  line-height: 1.5;
}

header > div:first-of-type > div > div > div:last-of-type > a > div > p:last-of-type > br {
  display: none;
}

header > div:first-of-type > div > div > div:last-of-type > a:last-child > div > p {
  color: var(--color-enterprise-primary);
}

header > div:first-of-type > div > div > button {
  display: none;
  position: relative;
  background-color: var(--color-bg-floating);
  box-shadow: var(--shadow-drop);
  border-radius: var(--radius-m);
  width: 110px;
  cursor: pointer;
  align-items: center;
  z-index: 1;
}

header > div:first-of-type > div > div > button > span:first-of-type {
  position: absolute;
  left: 20px;
  width: 14px;
  height: 12px;
}

header > div:first-of-type > div > div > button > span:first-of-type > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-primary);
  border-radius: 2px;
}

header > div:first-of-type > div > div > button > span:first-of-type,
header > div:first-of-type > div > div > button > span:first-of-type > span {
  display: inline-block;
  transition: all var(--duration) var(--easing);
}

header > div:first-of-type > div > div > button > span:first-of-type > span:nth-of-type(1) {
  top: 0;
}

header > div:first-of-type > div > div > button > span:first-of-type > span:nth-of-type(2) {
  top: 5px;
}

header > div:first-of-type > div > div > button > span:first-of-type > span:nth-of-type(3) {
  bottom: 0;
}

header > div:first-of-type > div > div > button.open > span:first-of-type > span:nth-of-type(1) {
  transform: translateY(5px) rotate(45deg);
}

header > div:first-of-type > div > div > button.open > span:first-of-type > span:nth-of-type(2) {
  opacity: 0;
}

header > div:first-of-type > div > div > button.open > span:first-of-type > span:nth-of-type(3) {
  transform: translateY(-5px) rotate(-45deg);
}

header > div:first-of-type > div > div > button > span:not(:first-of-type) {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 40px;
  transition: opacity var(--duration) var(--easing);
}

header > div:first-of-type > div > div > button > span:not(:first-of-type) > span {
  color: var(--color-accent-primary);
  font-weight: var(--weight-m);
  transition: opacity var(--duration) var(--easing);
  line-height: 1;
}

header > div:first-of-type > div > div > button > span:not(:first-of-type).menu-closed {
  opacity: 1;
}

header > div:first-of-type > div > div > button > span:not(:first-of-type).menu-opened {
  opacity: 0;
}

header > div:first-of-type > div > div > button.open > span.menu-closed {
  opacity: 0;
}

header > div:first-of-type > div > div > button.open > span.menu-opened {
  opacity: 1;
}

header > div:first-of-type > nav {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg-floating);
  box-shadow: var(--shadow-drop);
  border-radius: var(--radius-l);
  margin-top: 24px;
}

header > div:first-of-type > nav.open {
  opacity: 1;
  visibility: visible;
}

header > div:first-of-type > nav > ul:first-of-type {
  display: flex;
}

header > div:first-of-type > nav > ul:first-of-type > li {
  position: relative;
  list-style: none;
  width: 100%;
}

header > div:first-of-type > nav > ul:first-of-type > li + li::before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background-color: var(--color-separator);
}

header > div:first-of-type > nav > ul:first-of-type > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--weight-m);
  padding: 10px 8px;
}

header > div:first-of-type > nav > ul:first-of-type > li > a > img {
  height: 30px;
  margin-right: 8px;
}

header > div:first-of-type > nav > ul:first-of-type > li > a:hover {
  background-color: #587dc21a;
}

header > div:first-of-type > nav > ul:first-of-type > li:first-of-type > a {
  border-radius: var(--radius-l) 0 0 var(--radius-l);
}

header > div:first-of-type > nav > ul:first-of-type > li:last-of-type > a {
  border-radius: 0 var(--radius-l) var(--radius-l) 0;
}

header > div:first-of-type > nav > ul:last-of-type {
  display: none;
  margin-top: 18px;
  margin-left: -3px;
  gap: 24px;
}

header > div:first-of-type > nav > ul:last-of-type > li {
  list-style: none;
}

header > div:first-of-type > nav > ul:last-of-type > li > a {
  display: flex;
  gap: 4px;
  font-size: var(--font-s);
  font-weight: var(--weight-l);
}

header > div:first-of-type > nav > ul:last-of-type > li > a > img {
  width: 15px;
  align-items: center;
}

header > div:first-of-type > div:last-of-type {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff83;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--easing);
  z-index: 0;
}

header > div:first-of-type > div:last-of-type.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media screen and (max-width: 1299px) {
  header {
    padding-top: 24px;
  }

  header > div:first-of-type > div > a > img {
    height: 44px;
  }

  header > div:first-of-type > div > a > div {
    left: 44px;
    bottom: -4px;
  }

  header > div:first-of-type > div > div {
    gap: 28px;
  }

  header > div:first-of-type > div > div > div:first-child {
    gap: 16px;
  }

  header > div:first-of-type > div > div > div:last-of-type > a {
    padding: 6px 24px 6px 16px;
  }

  header > div:first-of-type > div > div > div:last-of-type > a > img {
    height: 32px;
  }

  header > div:first-of-type > div > div > div:last-of-type > a > div > p:first-child {
    display: none;
  }

  header > div:first-of-type > div > div > div:last-of-type > a > div > p:last-of-type > br {
    display: block;
  }

  header > div:first-of-type > nav {
    margin-top: 20px;
  }

  header > div:first-of-type > nav > ul:first-of-type > li > a {
    font-size: var(--font-m);
  }

  header > div:first-of-type > nav > ul:first-of-type > li > a > img {
    height: 26px;
    margin-right: 6px;
  }
}

@media screen and (max-width: 949px) {
  header {
    padding-top: 20px;
    pointer-events: none;
    transform: none !important;
  }

  header > .bg {
    height: 140px;
  }

  header > div:first-of-type > div {
    align-items: stretch;
  }

  header > div:first-of-type > div > a,
  header > div:first-of-type > div > div > button,
  header > div:first-of-type > div > div > div:last-of-type,
  header > div:first-of-type > nav.open {
    pointer-events: all;
  }

  header > div:first-of-type > div > a > img {
    height: 36px;
  }

  header > div:first-of-type > div > a > div {
    left: 37px;
    bottom: -2px;
  }

  header > div:first-of-type > div > div > div:first-child {
    display: none;
  }

  header > div:first-of-type > div > div > button {
    display: flex;
    align-items: center;
  }

  header > div:first-of-type > div > div > div:last-of-type {
    position: fixed;
    bottom: 20px;
    left: 16px;
    gap: 0;
    border-radius: var(--radius-m);
    background-color: var(--color-bg-floating);
    box-shadow: var(--shadow-drop);
  }

  header > div:first-of-type > div > div > div:last-of-type > a {
    position: relative;
    padding: 0px 20px 0px 16px;
    height: 58px;
    border-radius: var(--radius-m) 0 0 var(--radius-m);
    border: none;
    background-color: transparent;
  }

  header > div:first-of-type > div > div > div:last-of-type > a + a::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background-color: var(--color-separator);
  }

  header > div:first-of-type > div > div > div:last-of-type > a:last-of-type {
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
  }

  header > div:first-of-type > div > div > div:last-of-type > a:first-of-type:hover {
    background-color: #ffaa001a;
  }

  header > div:first-of-type > div > div > div:last-of-type > a:last-of-type:hover {
    background-color: #00a5ff0d;
  }

  header > div:first-of-type > nav {
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration) var(--easing),
      visibility var(--duration) var(--easing);
    padding: 18px 24px 32px;
    max-height: calc(100vh - 152px);
    overflow-y: auto;
  }

  header > div:first-of-type > nav > ul:first-of-type {
    flex-direction: column;
  }

  header > div:first-of-type > nav > ul:first-of-type > li {
    border-bottom: 1px solid var(--color-separator);
  }

  header > div:first-of-type > nav > ul:first-of-type > li + li::before {
    display: none;
  }

  header > div:first-of-type > nav > ul:first-of-type > li > a {
    justify-content: flex-start;
    padding: 12px 0;
    font-size: 18px;
  }

  header > div:first-of-type > nav > ul:first-of-type > li:first-of-type > a,
  header > div:first-of-type > nav > ul:first-of-type > li:last-of-type > a {
    border-radius: 0;
  }

  header > div:first-of-type > nav > ul:last-of-type {
    display: flex;
  }
}

@media screen and (max-width: 399px) {
  header > div:first-of-type > div > div > div:last-of-type {
    right: 16px;
  }

  header > div:first-of-type > div > div > div:last-of-type > a {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  header {
    position: absolute !important;
  }
}

/* グリッドのリンク */

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
  width: 100%;
}

.grid-list > a,
.sitemap-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius-l);
  padding: 24px 60px 26px 28px;
  text-decoration: none;
  color: inherit;
}

.grid-list > a::after {
  background-color: var(--color-accent-primary);
  position: absolute;
  right: 28px;
}

.grid-list > a > div {
  height: 100%;
}

.grid-list > a > div > p:first-of-type,
.grid-list > a > div > h2 {
  font-weight: var(--weight-m);
}

.grid-list > a > div > p:first-of-type {
  font-size: var(--font-s);
  margin-bottom: 4px;
}

@media screen and (max-width: 1299px) {
  .grid-list > a,
  .sitemap-list > li > a {
    padding: 20px 52px 22px 24px;
  }

  .grid-list > a::after {
    right: 24px;
  }
}

@media screen and (max-width: 949px) {
  .grid-list {
    gap: 12px;
  }
}

/* 画像のリンク */

.img-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-link:nth-child(2) {
  transform: translate(-48px, -112px);
}

.img-link > div {
  box-shadow: var(--shadow-drop);
}

.img-link > div:nth-child(1) {
  width: 100%;
  aspect-ratio: 1/0.6;
  background-position: top;
  background-size: cover;
  border-radius: var(--radius-l);
}

.img-link > div:nth-child(2) {
  background-color: #ffffff;
  margin-top: -35px;
  z-index: 1;
}

.img-link:hover {
  opacity: unset !important;
}

.img-link:hover > div:nth-child(2),
.img-link > div:nth-child(2):hover {
  opacity: unset;
  box-shadow: inset 0 0 0 3px var(--color-accent-secondary);
}

.img-link > div:nth-child(2)::after {
  background-color: var(--color-accent-primary);
}

.img-link > div:nth-child(2) > h2 {
  font-weight: var(--weight-l);
}

/* PDFマーク */

.pdf::after {
  content: "PDF";
  color: var(--color-accent-emphasis);
  border: 1px solid currentColor;
  display: inline-block;
  transform: scale(0.7);
  font-weight: var(--weight-m);
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}

/* トップページボタン */

.sticky-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 72px;
  pointer-events: none;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.scroll-top-btn {
  background-color: var(--color-bg-floating);
  box-shadow: var(--shadow-drop);
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  right: 0px;
  bottom: 28px;
  cursor: pointer;
  pointer-events: all;
  z-index: 1;
}

.scroll-top-btn > img {
  height: 36px;
}

@media screen and (max-width: 1299px) {
  .scroll-top-btn {
    width: 58px;
    height: 58px;
  }

  .scroll-top-btn > img {
    height: 24px;
  }
}

@media screen and (max-width: 949px) {
  .sticky-container,
  .scroll-top-btn {
    bottom: 20px;
  }
}

@media screen and (max-width: 399px) {
  .sticky-container,
  .scroll-top-btn {
    bottom: 94px;
  }
}

@media print {
  .scroll-top-btn {
    position: static !important;
  }
}

/* フッター */
footer {
  background-color: var(--color-bg);
  padding: 92px 0 72px 0;
  position: relative;
  margin-top: 92px;
}

footer::before {
  background-image: url(../img/common-footer-wave-bottom.webp);
  transform: translateY(-100%);
}

footer > div {
  position: relative;
}

footer > div > div:first-of-type {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
}

footer > div > div:first-of-type > div {
  position: relative;
}

footer > div > div:first-of-type > div + div::before {
  display: block;
  content: "";
  position: absolute;
  left: -50px;
  top: 0px;
  bottom: 0px;
  width: 1px;
  background-color: var(--color-separator);
}

footer > div > div:first-of-type > div:nth-of-type(2) {
  padding-right: 40px;
}

footer > div > div:first-of-type > div > p {
  font-size: 38px;
  font-weight: var(--weight-l);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0;
}

footer > div > div:first-of-type > div > p > span {
  font-weight: var(--weight-l);
}

footer > div > div:first-of-type > div > ul {
  display: grid;
  gap: 20px 48px;
}

footer > div > div:first-of-type > div:first-of-type > ul {
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
}

footer > div > div:first-of-type > div > ul > li {
  list-style: none;
}

footer > div > div:first-of-type > div > ul > li > a {
  padding: 0 2px 4px 2px;
}

footer > div > div:last-of-type > a > img {
  height: 64px;
}

footer > div > div:last-of-type {
  margin-top: 72px;
}

footer > div > div:last-of-type > p {
  font-size: var(--font-xs);
  opacity: 0.5;
}

footer > div > img {
  position: absolute;
  width: 350px;
}

footer > div > img:nth-of-type(1) {
  transform: translateX(-100%);
  bottom: -40px;
  left: 0px;
}

footer > div > img:nth-of-type(2) {
  transform: translateX(100%);
  top: -72px;
  right: 0px;
}

@media screen and (max-width: 1299px) {
  footer > div > div:first-of-type {
    gap: 70px;
    justify-content: space-around;
  }

  footer > div > div:first-of-type > div:nth-of-type(2) {
    padding-right: 20px;
  }

  footer > div > div:first-of-type > div > p {
    font-size: 24px;
    margin-bottom: 16px;
  }

  footer > div > div:last-of-type > a > img {
    height: 43px;
  }

  footer > div > div:first-of-type > div > ul {
    gap: 12px 24px;
  }
}

@media screen and (max-width: 949px) {
  footer {
    padding: 88px 0 120px 0;
  }

  footer > .inner-wide {
    padding: 0 24px;
  }

  footer > div > div:first-of-type {
    gap: 48px;
    flex-direction: column;
  }

  footer > div > div:first-of-type > div + div::before {
    display: none;
  }

  footer > div > div:first-of-type > div:nth-of-type(2) {
    padding-right: 0;
  }

  footer > div > div:first-of-type > div > p {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  footer > div > div:first-of-type > div > ul {
    grid-auto-flow: column;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  footer > div > div:first-of-type > div:nth-of-type(1) > ul {
    grid-template-rows: repeat(2, auto);
  }

  footer > div > div:first-of-type > div:nth-of-type(2) > ul,
  footer > div > div:first-of-type > div:nth-of-type(3) > ul {
    grid-template-rows: repeat(1, auto);
  }

  footer > div > div:first-of-type > div:nth-of-type(3) > ul > li:nth-of-type(3) {
    white-space: nowrap;
  }

  footer > div > div:last-of-type {
    margin-top: 60px;
  }

  footer > div > img {
    width: 156px;
  }

  footer > div > img:nth-of-type(1) {
    transform: translateY(-100%);
    top: -24px;
    left: -52px;
    bottom: auto;
  }

  footer > div > img:nth-of-type(2) {
    transform: translateY(100%);
    bottom: 72px;
    right: -52px;
    top: auto;
  }
}

@media screen and (max-width: 699px) {
  footer > div > div:first-of-type > div:nth-of-type(1) > ul {
    grid-template-rows: repeat(3, auto);
  }

  footer > div > div:first-of-type > div:nth-of-type(2) > ul {
    grid-template-rows: repeat(2, auto);
  }

  footer > div > div:first-of-type > div:nth-of-type(3) > ul {
    grid-template-rows: repeat(2, auto);
  }
}

@media screen and (max-width: 549px) {
  footer > div > div:first-of-type > div > ul {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  footer > div > div:first-of-type > div:nth-of-type(1) > ul {
    grid-template-rows: repeat(4, auto);
  }

  footer > div > div:first-of-type > div:nth-of-type(3) > ul {
    grid-template-rows: repeat(3, auto);
  }
}
