/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Common
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
html,
body {
  overflow-anchor: none;
  touch-action: pan-y;
}

html {
  overflow-y: scroll;
}

:root {
  --CommonColorBlue: rgba(101, 135, 246, 1);
  --CommonColorPurple: rgba(176, 89, 245, 1);
  --CommonColorBrown: rgba(67, 39, 18, 1);
  --CommonColorWhite: rgba(255, 255, 255, 1);
  --CommonColorBlack: rgba(0, 0, 0, 1);

  --BaseFont: "Zen Kaku Gothic New", sans-serif;
  --TitleFont: "Outfit", sans-serif;
  --FontSize12: 12px;
  --FontSize14: 14px;
  --FontSize16: 16px;
  --FontSize18: 18px;
  --FontSize40: 40px;
  --FontSize48: 48px;
  --FontSize200: 200px;

  /* 393px basis */
  --FontSizeSp12: 3.05vw;
  --FontSizeSp14: 3.56vw;
  --FontSizeSp16: 4.07vw;
  --FontSizeSp32: 8.1424vw;
  --FontSizeSp38: 9.66vw;
  --FontSizeSp140: 35.62vw;

  --BaseFontThin: 300; /* Regular */
  --BaseFontRegular: 400; /* Regular */
  --BaseFontMedium: 500; /* Medium */
  --BaseFontBold: 600; /* SemiBold */
  --BaseFontBold: 700; /* Bold */

  --LineHeight10: 100%;
  --LineHeight12: 120%;
  --LineHeight15: 150%;
  --LineHeight16: 160%;
  --LineHeight17: 170%;
  --LineHeight20: 200%;
}

body {
  font-family: var(--BaseFont);
  color: var(--CommonColorWhite);
  background-color: var(--CommonColorBlack);
  font-weight: var(--BaseFontRegular);
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease-out;
  text-decoration: none;
}

a:hover {
  transition: all 0.3s ease-out;
  cursor: pointer;
}

a:focus-visible {
  outline: 1px dashed var(--CommonColorWhite) !important;
}

ol,
ul,
li {
  list-style: none;
  padding: 0;
}

img,
picture {
  max-width: 100%;
  width: 100%;
  height: auto;
}

._pc {
  display: block;
}

.s ._pc {
  display: none;
}

.l ._sp {
  display: none;
}

.s ._sp {
  display: block;
}

/* ================================
        Layout
================================ */
.content {
  width: min(100%, 1440px);
  margin-inline: auto;
  position: relative;
  isolation: isolate;
}

.content > * {
  position: relative;
  z-index: 1;
}

.content::before,
.content::after {
  content: "";
  position: absolute;
  width: 450px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(100px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

@supports (-moz-appearance: none) {
  .content::before,
  .content::after {
    opacity: 0.4;
    filter: blur(160px);
  }
}

.s .content::before,
.s .content::after {
  width: 88.857vw;
  filter: blur(19.74vw);
}

.content::before {
  background: var(--CommonColorPurple);
  top: 30.333%; /* 273 / 900 */
  left: -10%; /* -144 / 1440 */
}

.s .content::before {
  top: -9.478vw;
  left: -83.46vw;
}

.content::after {
  background: var(--CommonColorBlue);
  top: 35.667%; /* 321 / 900 */
  left: 2.778%; /* 40 / 1440 */
}

.s .content::after {
  top: -1.69vw;
  left: -36.38vw;
}

/* ================================
        Header
================================ */
.header {
  padding-top: 29px;
  flex-shrink: 0;
}
.header a {
  display: block;
}
.header a:hover {
  opacity: 0.7;
}

.s .header {
  padding-top: 8.14vw;
}

.header p {
  width: 120px;
}
.s .header p {
  width: 30.53vw;
}

/* ================================
        Content
================================ */
.content-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  position: relative;
  line-height: var(--LineHeight15);
  width: min(100%, 1194px);
  margin-inline: auto;
  padding-left: 10px;
  padding-right: 10px;
  max-width: 1194px;
}

.s .content-inner {
  height: auto;
  padding-left: 5.08905vw;
  padding-right: 5.08905vw;
}

.content-inner-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 57px 0 50px;
  text-align: center;
}

.s .content-inner-main {
  padding: 13.23vw 0 10.335vw;
}

.content-inner-main h1 {
  width: 400px;
  margin-inline: auto;
  padding-bottom: 30px;
}

.s .content-inner-main h1 {
  width: 66.15vw;
  padding-bottom: 4.1vw;
}

.content-lead {
  font-size: var(--FontSize18);
  font-weight: var(--BaseFontMedium);
  letter-spacing: -0.72px;
  padding-bottom: 56px;
}

.s .content-lead {
  font-size: var(--FontSizeSp14);
  line-height: var(--LineHeight16);
  letter-spacing: -0.56px;
  padding-bottom: 7.14vw;
}

/* ================================
        Content
================================ */
.content-boxarea {
  display: flex;
  justify-content: center;
  gap: min(14px, 1.172vw);
  text-align: left;
  font-family: var(--TitleFont);
}

.s .content-boxarea {
  flex-direction: column;
  gap: 3.56vw;
}

.content-box {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: min(40px, 3.35vw) min(32px, 2.68vw);
  border: 1px solid var(--CommonColorWhite);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  isolation: isolate;
}

.s .content-box {
  min-height: auto;
  padding: 6vw 8.14vw 7vw 8.14vw;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.content-box > * {
  position: relative;
  z-index: 1;
}

#news.content-box {
  flex: 0 0 min(375px, 31.4vw);
}

.s #news.content-box {
  flex: unset;
  width: 100%;
}

#service.content-box {
  flex: 0 0 min(765px, 64vw);
}

.s #service.content-box {
  flex: unset;
  width: 100%;
}

#service.content-box::before,
#service.content-box::after {
  content: "";
  position: absolute;
  width: min(450px, 37.69vw); /* 450 / 1194 */
  aspect-ratio: 1/1;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(120px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

.s #service.content-box::before,
.s #service.content-box::after {
  content: "";
  position: absolute;
  width: 67vw;
  filter: blur(14.889vw);
}

#service.content-box::before {
  background: var(--CommonColorPurple);
  top: 53.83%; /* 253 / 470 */
  left: -9.67%; /* -74 / 765 */
}

.s #service.content-box::before {
  top: unset;
  left: 23.512%;
  bottom: -10.9%;
}

#service.content-box::after {
  background: var(--CommonColorBlue);
  top: 64.04%; /* 301 / 470 */
  left: 14.37%; /* 110 / 765 */
}

.s #service.content-box::after {
  top: unset;
  left: 54.1%;
  bottom: -17%;
}

.content-box h2 {
  font-weight: var(--BaseFontThin);
  font-size: var(--FontSize48);
  height: 33px;
  letter-spacing: -1.92px;
}

.s .content-box h2 {
  font-size: var(--FontSizeSp38);
  height: auto;
  line-height: 1;
  letter-spacing: -1.52px;
}

.content-text {
  font-family: var(--BaseFont);
  font-size: clamp(14px, 11.71px + 0.2981vw, 16px);
  font-weight: var(--BaseFontRegular);
  letter-spacing: -0.64px;
  padding-top: 24px;
  line-height: 1;
}

.s .content-text {
  font-size: var(--FontSizeSp16);
  font-weight: var(--BaseFontRegular);
  letter-spacing: -0.56px;
  padding-top: 1.87vw;
}

.content-text p {
  line-height: var(--LineHeight15);
}

/* --------------
News
-----------------*/
.content-date {
  display: block;
  font-size: var(--FontSize12);
  font-weight: var(--BaseFontThin);
  letter-spacing: -0.48px;
  opacity: 0.6;
  line-height: 1;
  padding-top: 10px;
}

.s .content-date {
  font-size: var(--FontSizeSp12);
  padding-top: 1.45vw;
}

/* --------------
Service
-----------------*/
.content-img {
  position: absolute;
  right: min(31px, 2.51vw);
  bottom: max(-41px, -3.43vw);
  width: min(467px, 39.11vw);
}

.s .content-img {
  position: relative;
  right: auto;
  bottom: auto;
  width: 73.28vw;
  margin-inline: auto;
  padding-block: 3.1801vw 4vw;
}

.content-btn {
  position: absolute;
  left: min(32px, 2.68vw);
  bottom: 37px;
  z-index: 1;
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 45px;
  padding: 16px min(24px, 2.01vw);
  border-radius: 999px;
  background: var(--CommonColorWhite);
  font-family: var(--BaseFont);
  font-weight: var(--BaseFontMedium);
}

.s .content-btn {
  position: relative;
  left: auto;
  bottom: auto;
  height: 11.45vw;
  padding: 4.07vw 6.1vw;
  margin-left: auto;
}

.content-btntext {
  font-size: var(--FontSize14);
  text-decoration: none;
  background: linear-gradient(
    90deg,
    var(--CommonColorBlue) 0%,
    var(--CommonColorPurple) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1.4px;
}

.s .content-btntext {
  font-size: var(--FontSizeSp14);
}

.content-btn::after {
  content: "";
  background-image: url(../img/icon-arrow.png);
  display: block;
  margin-left: 6px;
  flex-shrink: 0;
  width: 12px;
  height: 9px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.content-btn:hover {
  transform: scale(0.985);
}

.s .content-btn:hover {
  transform: scale(1);
}

.content-btnlogo {
  width: 56px;
}

.s .content-btnlogo {
  width: 14.24vw;
}

.s #service .content-text {
  padding-top: 2.77vw;
}

.s #service.content-box {
  padding: 6vw 8.14vw 8.14vw 8.14vw;
}

/* ================================
        Footer
================================ */
.footer {
  padding-bottom: 40px;
  flex-shrink: 0;
  font-size: var(--FontSize14);
  font-family: var(--TitleFont);
  font-weight: var(--BaseFontThin);
  line-height: var(--LineHeight15);
}

.s .footer {
  padding-bottom: 5.185vw;
  font-size: var(--FontSizeSp14);
}

.footer ul {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer ul span {
  font-family: var(--BaseFont);
  font-weight: var(--BaseFontRegular);
}

.s .footer ul {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.footer ul li:last-child {
  opacity: 0.8;
}

.s .footer ul li:last-child {
  padding-top: 2.035vw;
}

.footer ul div {
  font-size: var(--FontSize16);
  font-family: var(--BaseFont);
  padding-bottom: 6px;
}

.s .footer ul div {
  font-size: var(--FontSizeSp16);
  padding-bottom: 1.9vw;
}

/* ================================
        404
================================ */
#notfound h1 {
  font-family: var(--TitleFont);
  font-weight: var(--BaseFontThin);
  line-height: 1;
  padding-bottom: 0;
}

.notfound-code {
  font-size: var(--FontSize200);
  letter-spacing: -8px;
  line-height: 1;
  display: block;
}

.s .notfound-code {
  font-size: var(--FontSizeSp140);
  letter-spacing: -5.6px;
  line-height: 0.95;
}

.notfound-title {
  font-size: var(--FontSize40);
  letter-spacing: -1.6px;
  line-height: 1;
  display: block;
}

.s .notfound-title {
  font-size: var(--FontSizeSp32);
  letter-spacing: -1.28px;
}

.notfound-text {
  font-size: var(--FontSize14);
  font-weight: var(--BaseFontRegular);
  line-height: var(--LineHeight17);
  letter-spacing: 0.56px;
  padding-block: 24px;
}

.s .notfound-text {
  font-size: var(--FontSizeSp14);
  padding-block: 4.071vw;
}

.notfound-btn {
  display: inline-flex;
  margin-inline: auto;
  height: 42px;
  width: fit-content;
  padding: 16px min(24px, 2.01vw);
  align-items: center;
  border-radius: 999px;
  background: var(--CommonColorWhite);
  font-family: var(--BaseFont);
  font-weight: var(--BaseFontMedium);
}

.s .notfound-btn {
  height: 10.687vw;
  padding: 4.07vw 6.1vw;
}

.notfound-btntext {
  font-size: var(--FontSize14);
  color: var(--CommonColorBlack);
  letter-spacing: 0;
}

.s .notfound-btntext {
  font-size: var(--FontSizeSp14);
}

.notfound-btn::after {
  content: "";
  background-image: url(../img/icon-arrow-b.png);
  display: block;
  margin-left: 6px;
  flex-shrink: 0;
  width: 12px;
  height: 9px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.s .notfound-btn::after {
  margin-left: 1.5267vw;
  width: 3.053vw;
  height: 2.29vw;
}

.notfound-btn:hover {
  transform: scale(0.985);
}

.s .notfound-btn:hover {
  transform: scale(1);
}
