@charset "utf-8";

:root {
  --text: #555555;
  --accent: #007DCC;
  --white: #ffffff;
  --header-h: 108px;
  --gutter: clamp(16px, 5.208vw, 100px);
  --container: 1720px;
  --sp-gutter: clamp(16px, 12vw, 45px);
  --sp-header-gutter: clamp(12px, 4vw, 48px);
  --sp-btn-w: min(200px, 53.333vw);
  --mobile-bg: #E4FBFF;
  --stagger: 70ms;
  --line: rgba(0, 125, 204, .35);
}

@media(max-width:540px) {
  :root {
    --header-h: 70px;
  }
}

:target {
  scroll-margin-top: var(--header-h);
}

/* Base / Reset */
* {
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

main {
  overflow-x: hidden;
  overflow-y: visible;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text);
}

img {
  width: 100%;
  display: block;
}

/* 共通 */
.tasa {
  font-family: "TASA Explorer", system-ui, sans-serif;
  letter-spacing: 0.2em;
}

.l-container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.c-h3 {
  font-size: clamp(24px, calc(24px + (100vw - 1600px) * 8 / 320), 32px);
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin: 0;
  color: #555555;
}

.c-secTitle {
  display: flex;
  align-items: center;
  gap: clamp(8px, calc(1.5625vw - 12px), 18px);
}

.c-secTitle-line {
  width: 45px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.c-secTitle-text {
  margin: 0;
  color: var(--accent);
  font-size: 2.5rem;
  letter-spacing: .2em;
  font-family: "TASA Explorer", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1;
}

@media(max-width:900px) {
  .c-secTitle-line {
    width: 23px;
  }

  .c-secTitle-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  p {
    line-height: 2;
  }

  .c-h3 {
    font-size: clamp(21px, calc(21px + (100vw - 540px) * 3 / 228), 24px);
  }
}



@media(max-width:540px) {
  p {
    font-size: 0.8125rem;
  }

  .c-secTitle-text {
    font-size: 1.25rem;
  }
}

/* ページタイトル（h1用） */
.c-pageTitle {
  margin: 0;
  font-family: "TASA Explorer", system-ui, sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

.c-pageTitle--white {
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 15px #007DCC;
}

.c-pageTitle--blue {
  color: var(--accent);
}

@media(max-width:768px) {
  .c-pageTitle {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

/* MVとFooterで共通使用 */
.hero {
  position: relative;
  overflow: hidden;
}

/* 全面 */
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 先に“隠しておく” */
.hero-poster {
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  object-fit: cover;
  opacity: 1;
  transition: opacity .3s ease;
}

/* 遅い時だけ poster を出す */
.hero.is-loading .hero-poster {
  opacity: 1;
}

/* さらに「遅い時は動画を一旦隠す」なら（任意） */
.hero.is-loading .hero-video {
  opacity: 0;
}

/* 準備できたら poster を消す（loading解除でもOKだけど保険） */
.hero.is-ready .hero-poster {
  opacity: 0;
}

.hero.is-ready .hero-video {
  opacity: 1;
}

/* ヘッダー */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  letter-spacing: .08em;
  z-index: 40;
  border-bottom: 1px solid rgba(207, 254, 244, 0.3);
  background: transparent;
  transition: border-color .2s ease;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, .30) 0%,
      rgba(0, 125, 204, .12) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  opacity: 1;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 0;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header.is-scrolled::after {
  opacity: 0;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, .08);
}

.site-header.is-scrolled .global-nav-link {
  color: var(--text);
}

.site-header.is-scrolled .global-nav-link:hover {
  color: var(--accent);
}

.site-header.is-scrolled .chev {
  border-right-color: rgba(51, 51, 51, .75);
  border-bottom-color: rgba(51, 51, 51, .75);
}

.site-header.is-scrolled .btn-contact-desktop {
  border-color: rgba(0, 125, 204, .35);
  color: var(--accent);
}

/* backdrop-filter 非対応のフォールバック */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::after {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, .75) 0%,
        rgba(0, 125, 204, .28) 100%);
  }

  .site-header::before {
    background: rgba(255, 255, 255, .92);
  }
}


/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 200px;
  height: auto;
  display: block;
}

.brand-logo-blue {
  display: none;
}

.site-header.is-scrolled .brand-logo-white {
  display: none;
}

.site-header.is-scrolled .brand-logo-blue {
  display: block;
}

@media(max-width:540px) {
  .brand-logo {
    width: 150px;
  }
}

/* ナビゲーション */
.global-nav {
  margin-left: auto;
}

.global-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, calc(5.46875vw - 46px), 59px);
  padding: 0;
  margin: 0;
}

.global-nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  position: relative;
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease, opacity .2s ease;
}

.global-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* headerは高さ50pxなので、下線位置は中に入るように調整 */
  bottom: 10px;

  height: 2px;
  background: linear-gradient(90deg,
      rgba(100, 210, 255, 0),
      rgba(100, 210, 255, .95),
      rgba(100, 210, 255, 0));

  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  pointer-events: none;
  z-index: 1;
}

.global-nav-link:hover::after,
.global-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.global-nav-link:hover,
.global-nav-link:focus-visible {
  color: #64D2FF;
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(100, 210, 255, .35);
}

/* 小さな矢印 */
.chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 255, 255, .9);
  border-bottom: 1.5px solid rgba(255, 255, 255, .9);
  transform: rotate(45deg);
  display: inline-block;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-contact-desktop {
  width: min(200px, calc(100% - 36px));
  height: 50px;
  padding: 0 18px;
  margin-left: clamp(18px, calc(4.0625vw - 34px), 50px);
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.btn-contact-desktop:hover,
.btn-contact-desktop:focus-visible {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

.site-header.is-scrolled .btn-contact-desktop:hover,
.site-header.is-scrolled .btn-contact-desktop:focus-visible {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* メガメニュー*/
.global-nav-item {
  position: relative;
}

.has-mega {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
}

.has-mega>.global-nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
}

.has-mega::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 32px;
}

.mega {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  transform: translateX(-50%);
  width: min(946px, calc(100% - (var(--gutter) * 2)));
  background: var(--white);
  padding: 40px 50px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 80;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}

.mega-line {
  width: 23px;
  height: 1px;
  background: var(--accent);
}

.mega-title {
  margin: 0;
  font-family: "TASA Explorer", system-ui, sans-serif;
  color: var(--accent);
  font-size: 20px;
  letter-spacing: .18em;
}

.mega-cards {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.mega-card {
  max-width: 150px;
}

.mega-cardLink {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.mega-thumb {
  width: 100%;
  height: 90px;
  background: #d9d9d9;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

.mega-label {
  font-size: 0.75rem;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  line-height: 1;
}

.mega-label::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(-45deg);
  margin-left: 6px;
}

.pc-sub-tasa {
  font-family: "TASA Explorer", system-ui, sans-serif;
  font-size: 0.875rem;
  letter-spacing: .1em;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: fixed;
  top: calc((var(--header-h) - 44px) / 2);
  right: var(--sp-gutter);
  z-index: 100;
}

.hamburger-lines {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 18px;
  margin: 0;
  display: block;
}

.hamburger-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: #007DCC;
  transform-origin: center;
  transition: transform .22s ease;
}

.hamburger-line:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger-line:nth-child(2) {
  transform: translateY(6px);
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(0) rotate(30deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  transform: translateY(0) rotate(-30deg);
}

/* モバイルメニュー */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 60;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(92vw, 430px);
  height: 100vh;
  background: var(--mobile-bg);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .22s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 15px;
}

.mobile-menu-brand {
  display: flex;
}

.mobile-menu-logo {
  width: 150px;
  height: auto;
}

.mobile-nav {
  padding: 6px 0 18px;
  overflow: auto;
}

.mobile-nav-list {
  padding: 0;
  margin: 0;
  border-top: 1px solid #CCCCCC;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: .2em;
  font-weight: 500;
  border-bottom: 1px solid #CCCCCC;
}

.mobile-nav-link a {
  color: var(--text);
}

.mobile-nav-accordion {
  appearance: none;
}

.mobile-nav-accordion[aria-expanded="true"] {
  background: rgba(217, 217, 217, 0.10);
  border-bottom: 0;
}

/* SP矢印 */
.chev-sp {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(0, 0, 0, .45);
  border-bottom: 2px solid rgba(0, 0, 0, .45);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}

.mobile-nav-accordion[aria-expanded="true"] .chev-sp {
  transform: rotate(-135deg);
}

/* Accordion sub */
.mobile-sub {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  padding: 0;
  border-bottom: 0;
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding .22s ease;
}

.mobile-nav-link,
.mobile-sub {
  padding-left: var(--sp-gutter);
  padding-right: var(--sp-gutter);
}

.mobile-sub.is-open {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 20px;
  border-bottom: 1px solid #CCCCCC;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mobile-sub-link {
  display: block;
  padding-left: 14px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity .22s ease,
    transform .22s ease;
  transition-delay: 0ms;
}

.mobile-sub-tasa {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  font-family: "TASA Explorer", system-ui, sans-serif;
}

.mobile-sub.is-open .mobile-sub-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-sub.is-open .mobile-sub-link:nth-child(1) {
  transition-delay: calc(var(--stagger) * 0 + 60ms);
}

.mobile-sub.is-open .mobile-sub-link:nth-child(2) {
  transition-delay: calc(var(--stagger) * 1 + 60ms);
}

.mobile-sub.is-open .mobile-sub-link:nth-child(3) {
  transition-delay: calc(var(--stagger) * 2 + 60ms);
}

.mobile-sub.is-open .mobile-sub-link:nth-child(4) {
  transition-delay: calc(var(--stagger) * 3 + 60ms);
}

.mobile-sub.is-open .mobile-sub-link:nth-child(5) {
  transition-delay: calc(var(--stagger) * 4 + 60ms);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sub-link {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.btn-contact-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(240px, calc(100% - 36px));
  height: 50px;
  margin: 34px auto 0;
  background: linear-gradient(90deg, #AFF2FF 0%, #007DCC 100%);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--white);
  border-radius: 999px;
  font-size: 1rem;
}

@media(max-width:1400px) {
  .global-nav-link {
    font-size: 0.875rem;
  }

  .btn-contact-desktop {
    font-size: 0.875rem;
  }
}

@media (max-width: 1300px) {

  .global-nav,
  .btn-contact-desktop {
    display: none;
  }

  .hamburger {
    display: block;
    right: 15px;
  }

  .mega {
    display: none;
  }
}

@media (max-width: 1024px) {
  .site-header-inner.l-container {
    width: calc(100% - (var(--sp-header-gutter) * 2));
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .btn-contact-mobile {
    width: var(--sp-btn-w);
    margin: 22px auto 0;
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    width: 100%;
  }
}

/* 曲線の配置のためのクラス */
.c-drawlineScope {
  position: relative;
}

.c-drawlineScope>.l-container {
  position: relative;
  z-index: 1;
}

/* Drawline / Background Line（共通） */
.c-bgLine {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.c-bgLine[data-pos="top"] {
  top: 0;
}

.c-bgLine[data-pos="bottom"] {
  bottom: 65px;
}

.c-bgLine-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.c-bgLine-path {
  fill: none;
  stroke: #8BC3FF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--dash, 1);
  stroke-dashoffset: var(--dash, 1);
}

.c-bgLine.is-drawn .c-bgLine-path {
  animation: c-bgLineDraw 2.6s ease forwards;
}

@keyframes c-bgLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-bgLine.is-drawn .c-bgLine-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media(max-width:840px) {
  .c-bgLine[data-pos="bottom"] {
    bottom: auto;
    top: 66%;
  }
}

@media(max-width:500px) {
  .c-bgLine[data-pos="bottom"] {
    top: 73%;
  }
}

/* 共通CTA */
.c-ctaBtn {
  width: 235px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;

}

.c-ctaBtn-icon {
  width: 21px;
  height: 21px;
  border-radius: 70px;
  display: grid;
  place-items: center;
  transition: background-color .25s ease;
}

.c-ctaBtn-arrow {
  width: 13px;
  height: 11px;
  -webkit-mask: url("../img/common/cta-arrow.svg") no-repeat center / contain;
  mask: url("../img/common/cta-arrow.svg") no-repeat center / contain;
}

.top-c-ctaBtn {
  color: #3999FF;
  background: #fff;
  border: 1px solid #3999FF;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.top-c-ctaBtn .c-ctaBtn-icon {
  background: #3999FF;
  margin-right: 4px;
}

.top-c-ctaBtn .c-ctaBtn-arrow {
  background: #fff;
}

.top-c-ctaBtn:hover {
  background: #3999FF;
  color: #fff;
  border-color: #3999FF;
}

.top-c-ctaBtn:hover .c-ctaBtn-icon {
  background: #fff;
}

.top-c-ctaBtn:hover .c-ctaBtn-arrow {
  background: #3999FF;
}

/* 下層ページ用 */
.page-c-gradBtn {
  width: 235px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 9999px;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 400;
  padding-right: 35px;
  color: #FFF;
  border: 2px solid transparent;
  transition: transform .2s ease, color .25s ease, border-color .25s ease;
}

/* 初期：薄いグラデ */
.page-c-gradBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      #AFF2FF 0%,
      #007DCC 50%,
      #007DCC 100%);
  z-index: 0;
}

/* ホバー：今の初期（濃い）グラデを上から被せる */
.page-c-gradBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #fff 0%, #80CEFF 100%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}

.page-c-gradBtn>* {
  position: relative;
  z-index: 1;
}

/* ホバー時：濃いグラデに切り替え */
.page-c-gradBtn:hover::after {
  opacity: 1;
}

/* 濃い背景にするなら、文字は白が見やすい（不要なら消してOK） */
.page-c-gradBtn:hover {
  color: #007DCC;
  border-color: #017ECC;
}

.page-c-gradBtn-circle {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.page-c-gradBtn-arrow {
  width: 13px;
  height: 11px;
  display: block;
  color: #007DCC;
}

/* フォーカス（キーボード操作用） */
.page-c-gradBtn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 125, 204, 0.35);
}

/* ほんの少し押し感（任意） */
.page-c-gradBtn:active {
  transform: translateY(1px);
}


/* Footer */
.site-footer {
  width: 100%;
  position: relative;
}

.footer-cta {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  width: min(1000px, 60vw);
  background: #fff;
  padding: 28px clamp(18px, 2vw, 64px) 32px;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200px;
  transform: translateX(-85%);
  background: url('../img/common/left_parts.svg') no-repeat right bottom / 100% 100%;
  pointer-events: none;
}

.footer-cta-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 14px 18px;
}

.footer-cta-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 30px;
  border: 1px solid var(--text);
  border-radius: 28px;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-cta-list a:hover,
.footer-cta-list a:focus-visible {
  background-color: var(--accent);
  border-color: rgba(0, 125, 204, .45);
  color: var(--white);
  transform: translateY(-1px);
}

.footer-contents {
  position: relative;
  height: 680px;
  width: 100%;
  background-color: #555555;
  z-index: 0;
  overflow: hidden;
}

.footer-contents::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 125, 204, 0.8);
  z-index: 1;
  transition: height .2s ease;
}

.footer-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.footer-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

.footer-brand {
  display: block;
  width: 300px;
}

.footer-logo {
  max-width: 300px;
  width: 100%;
}

.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, calc(17.3077vw - 212.3077px), 120px);
  padding-top: 45px;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(12px, calc(9.6154vw - 104.6154px), 80px);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav-col.f-col {
  gap: 10px;
}

.footer-nav-link {
  position: relative;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
  z-index: 1;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(100, 210, 255, 0),
      rgba(100, 210, 255, .95),
      rgba(100, 210, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  pointer-events: none;
  z-index: 1;
}

@supports selector(:has(*)) {
  .footer-nav-link:has(.f-nav-line)::after {
    left: calc(25px + 18px);
  }
}

.footer-nav-link .f-nav-line {
  transform-origin: left center;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: #64D2FF;
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(100, 210, 255, .35);
}

.footer-nav-link:hover::after,
.footer-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.footer-nav-link:hover .f-nav-line,
.footer-nav-link:focus-visible .f-nav-line {
  background-color: rgba(100, 210, 255, .9);
  opacity: 1;
  transform: scaleX(1.3);
}

.footer-nav-link.f-size {
  font-size: 0.6875rem;
}

.f-nav-line {
  display: block;
  width: 25px;
  height: 1px;
  background: rgba(255, 255, 255, .75);
}

.footer-nav-tablet {
  display: contents;
}

small {
  display: block;
  text-align: center;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 20px;
}

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

  .footer-nav-link,
  .footer-nav-link::after,
  .footer-nav-link .f-nav-line {
    transition: none;
  }
}

@media(min-width:841px) {
  .footer-contents::before {
    height: 300px;
  }
}

@media(min-width:620px) and (max-width:840px) {
  .footer-contents::before {
    height: 500px;
  }
}

@media(max-width:1300px) {
  .footer-cta {
    position: static;
    width: 100%;
    padding: 18px 18px 22px;
  }

  .footer-cta::before {
    display: none;
  }

  .footer-cta-list {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
  }
}

@media(max-width:1280px) {
  .footer-nav-tablet {
    display: block;
  }

  .col-tablet {
    margin-top: 8px;
  }

  .footer-nav-col.f-col {
    margin-top: 20px;
  }
}

@media(max-width:840px) {
  .footer-cta {
    left: 0;
    right: 0;
    width: 100%;
    border-bottom-left-radius: 0;
    padding: 18px 18px 22px;
  }

  .footer-cta::before {
    display: none;
  }

  .footer-cta-list {
    justify-content: flex-start;
    gap: 12px 12px;
  }

  .footer-nav-tablet {
    display: contents;
  }

  .col-tablet {
    margin-top: 0;
  }

  .footer-nav-col {
    gap: 12px;
  }

  .footer-nav {
    flex-direction: column;
  }

  .footer-nav-col.f-col {
    margin-top: 8px;
  }
}

@media(max-width:620px) {
  .footer-cta {
    padding: 0;
    margin-bottom: 50px;
  }

  .footer-menu {
    gap: 63px;
  }

  .footer-contents {
    height: 700px;
  }

  .footer-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 49px;
  }
}

/* sectionトップのcurve */
.c-top-curve {
  position: relative;
  padding-top: 360px;
}

.c-top-curve::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 360px;
  background: url('../img/common/sec_top_curve.svg') no-repeat center center;
  background-size: contain;
}

.c-bottom-curve {
  display: block;
  width: 100%;
}

@media(max-width:1080px) {
  .c-top-curve {
    padding-top: 180px;
  }

  .c-top-curve::before {
    height: 180px;
  }
}

@media(max-width:768px) {
  .c-top-curve {
    padding-top: 90px;
  }

  .c-top-curve::before {
    height: 90px;
  }
}

@media(max-width:540px) {
  .c-top-curve {
    padding-top: 68px;
  }

  .c-top-curve::before {
    height: 68px;
  }
}

/* fadeアップアニメーション */
.fade-up {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
}

.fade-up.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fade-up-d0 {
  --fade-delay: 0ms;
}

.fade-up-d1 {
  --fade-delay: 120ms;
}

.fade-up-d2 {
  --fade-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* 上に戻るボタン */
.c-top-float {
  position: fixed;
  z-index: 5;
  right: 24px;
  bottom: 60px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s ease,
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.c-top-float.is-show {
  opacity: .8;
  visibility: visible;
  transform: translateY(0);
}

.c-top-float-icon {
  display: grid;
  place-items: center;
  transform: translateY(0);
  transition: transform .2s ease;
}

.c-top-float:hover .c-top-float-icon {
  transform: translateY(-2px);
}

.c-top-float-svg {
  width: 13px;
  height: 11px;
  display: block;
  transform: rotate(-90deg);
}

.c-top-float:hover {
  background: var(--accent);
  color: #fff;
  border-color: #fff;
}

.c-top-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 125, 204, 0.25);
}

@media (max-width: 540px) {
  .c-top-float {
    right: 16px;
    bottom: 16px;
  }
}