/**
 * File: base.css
 * Usage: 全ページ共通のスタイルを定義します。レイアウト、モジュールなど。
 * Example: ly_header, ly_footer, el_btn, el_gradientGold, el_subpTtl, el_normalTtl
*/

@charset "UTF-8";

/* ================================================  
 リセットの記述
================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
  margin: 0;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh; /* Fallback */
  min-height: calc(var(--vh, 1vh) * 100);
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================  
 ログイン時に出るWordPress管理画面のツールバーを非表示
================================================ */
#wpadminbar {
  display: none !important;
}

html {
  margin-top: 0 !important;
}

/* ================================================  
 フォントの読み込み
================================================ */
@font-face {
  font-family: 'NotoSansJp';
  src: url(../fonts/NotoSansJP-Regular.woff2) format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 500;
  src: url(../fonts/NotoSansJP-Medium.woff2) format('woff2');
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 600;
  src: url(../fonts/NotoSansJP-SemiBold.woff2) format('woff2');
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 700;
  src: url(../fonts/NotoSansJP-Bold.woff2) format('woff');
}

/* ================================================  
 スタイルの適用(モバイルファーストで記述)
================================================ */
body {
  background-color: #f6f7fa;
  color: #2f344f;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: 'NotoSansJp', sans-serif;
  overscroll-behavior: none;
}

.clearfix::after {
  clear: both;
}

li {
  list-style: none;
}

/* メディアクエリ用の表示・非表示 */
.sm_only {
  display: block !important;
}
.md_only,
.lg_only {
  display: none !important;
}

/* ================================================  
  レイアウト
================================================ */
/* 全体のレイアウト */

.ly_header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

/* ================================================  
 ブロックモジュール
================================================ */
/* ヘッダー */
.bl_headerCont {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bl_header_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2b43cc;
  color: #fff;
  aspect-ratio: 26 / 10;
  line-height: 1;
  font-weight: 400;
  max-width: 182px;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.bl_header_logo span {
  font-size: 14px;
  letter-spacing: 0.4em;
}

.bl_header_nav {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0%;
  display: flex;
  align-items: center;
  display: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
}

.bl_header_nav_ul {
  display: flex;
  align-items: center;
}

.bl_header_nav_ul .bl_header_nav_ul_li a {
  padding-inline: 16px;
  display: flex;
}

.ly_contact {
  color: #fff;
  margin-block: 60px;
}

.bl_contact {
  display: block;
  position: relative;
  background: linear-gradient(
    335deg,
    #6374e0 12.98%,
    #475bd6 24.79%,
    #4b5dd1 42.64%,
    #556be9 57.66%,
    #2b43cc 80.13%
  );
  transition: opacity 0.3s ease;
}

.bl_contact:hover {
  opacity: 0.8;
}

.bl_contact_pattern {
  position: absolute;
  left: 0;
  top: 0;
}

.bl_contact_pattern,
.bl_contact_pattern svg {
  height: 100%;
  width: auto;
  pointer-events: none;
}

.bl_contact_text {
  width: fit-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 20px;
}

.bl_contact_text .bl_contact_textArrow {
  align-self: flex-end;
  transition: all 0.3s ease;
}

.bl_contact:hover .bl_contact_textArrow {
  transform: translateX(8px);
}

.bl_contact_textArrow rect {
  fill: #677fff;
  transition: all 0.3s ease;
}

.bl_contact:hover .bl_contact_textArrow rect {
  fill: #fff;
}

.bl_contact_textArrow path {
  fill: #fff;
  transition: all 0.3s ease;
}

.bl_contact:hover .bl_contact_textArrow path {
  fill: #677fff;
}

/* フッター */

.ly_footer {
  background: #fff;
  padding: 60px 20px;
}

.bl_footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl_footer_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #2b43cc;
  background: #fff;
  line-height: 1;
  font-size: clamp(1.5rem, 1.1786rem + 1.6071vw, 2.625rem);
  letter-spacing: 0.1em;
  order: 0;
}

.bl_footer_logo span {
  font-size: clamp(0.875rem, 0.6964rem + 0.8929vw, 1.5rem);
  letter-spacing: 0.4em;
}

.bl_footerLeft {
  display: contents;
}

.bl_footer .el_txtBig {
  order: 2;
}

.bl_footer_links,
.bl_header_links {
  order: 1;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
}

.bl_footer_links > a,
.bl_header_links > a {
  display: block;
  color: #1f2740;
  font-weight: 600;
  text-decoration: none;
}

.bl_footer_links > span,
.bl_header_links > span {
  display: block;
  color: #1f2740;
  font-weight: 600;
}

.bl_footer_links > span > a,
.bl_header_links > span > a {
  display: block;
  margin-top: 4px;
  padding-left: 24px;
  position: relative;
  color: #6f6f6f;
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}

.bl_footer_links > span > a::before,
.bl_header_links > span > a::before {
  content: '－';
  position: absolute;
  left: 0;
  top: 0;
  color: #3063e6;
}

.bl_footer_links .el_btn,
.bl_header_links .el_btn {
  margin-top: 20px;
  color: #fff;
  width: fit-content;
}

.ly_footer .el_txtBig {
  margin-block: 20px;
  font-weight: 500;
  font-size: 60px;
  line-height: 160%;
  font-size: clamp(1.25rem, 0.5357rem + 3.5714vw, 3.75rem);
  font-feature-settings: 'palt';
}

.bl_nav .el_txtBig {
  font-size: clamp(1.5rem, 1.1429rem + 1.7857vw, 2rem);
  margin-block: 20px;
  font-weight: 500;
  font-feature-settings: 'palt';
}

.ly_footer small {
  display: block;
  width: 100%;
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
}

.bl_nav {
  padding: 72px 15px 140px 25px;
  overflow-y: scroll;
}

/* ================================================  
  エレメントモジュール
================================================ */
/* ボタン */
.el_btn {
  font-size: 14px;
  color: #fff;
  background: #2b43cc;
  transition: all 0.3s ease;
  padding: 10px 20px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.el_btn svg {
  transition: all 0.3s ease;
}

.el_btn:hover,
.el_btn:focus {
  background: white;
  color: #2b43cc;
}

.el_btn:hover svg,
.el_btn:focus svg {
  transform: translateX(20px);
}

/* ================================================  
 ハンバーガーメニュー
================================================ */

.el_humbWrapper {
  aspect-ratio: 124 / 40;
  background: #2b43cc;
  color: #f6f7fa;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 8px 16px;
  margin-right: 24px;
}

.el_humb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.el_humb span {
  display: block;
  width: 34px;
  height: 1px;
  background: #fff;
  border-radius: 999px;
}

/* ハンバーガーメニューのナビゲーション */
.bl_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f6f7fa;
  z-index: 1000;
  user-select: none;
  /* 初期状態 */
  opacity: 0;
  visibility: hidden;
  /* アニメーション */
  transition: all 0.3s ease;
}

.bl_nav_header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bl_nav_ul {
  padding: 60px 20px;
}

.el_nav_close {
  aspect-ratio: 124 / 40;
  margin-right: 24px;
  padding: 8px 16px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: #434863;
  color: #fff;
  z-index: 100000;
}

.el_nav_close div {
  position: relative;
  width: 34px;
  height: 10px;
}

.el_nav_close div span {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: rotate(30deg);
}

.el_nav_close span:nth-of-type(2) {
  transform: rotate(-30deg);
}

.bl_nav.is_open {
  opacity: 1;
  visibility: visible;
}

.el_secHeader {
  display: flex;
  flex-direction: column;
}

.el_secHeader_white {
  color: #fff;
}

.bl_header_links {
  padding-inline: 20px;
}

.el_secHeader h2 {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.05em;
}

.el_secHeader span {
  font-weight: 500;
  font-size: clamp(3rem, 2.7143rem + 1.4286vw, 4rem);
  line-height: 1;
}

/* ================================================  
 ヘルパー
================================================ */
/* 余白の調整 */
.hp_mt20 {
  margin-top: 20px;
}

.hp_mt40 {
  margin-top: 40px;
}

.hp_pb20 {
  padding-bottom: 20px;
}

.hp_pt40 {
  padding-top: 40px;
}

.hp_padX40 {
  padding-inline: 40px;
}

.hp_padY20 {
  padding-block: 20px;
}

.hp_wMax {
  width: max-content;
  margin-inline: auto;
}

/* 色の変更 */
.hp_bgBlack {
  background: #333;
}

/* テキストの調整 */
.hp_txtCenter {
  text-align: center;
}

.hp_colorAccent {
  color: #2943cb;
}

.hp_selfCenter {
  margin: auto;
}

.hp_selfEnd {
  align-self: end;
  margin: auto 0;
}

.mv_slideRight span {
  opacity: 0;
  transform: translateX(-40px);
}

.mv_slideRight span.isVisible {
  animation: fvSlideRight 0.7s ease-out forwards;
}

@keyframes fvSlideRight {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.mv_slideTop {
  opacity: 0;
  transform: translateY(40px);
}

.mv_slideTop.isVisible {
  animation: fvSlideTop 0.7s ease-out forwards;
}

@keyframes fvSlideTop {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 768px) {
  .sm_only {
    display: none !important;
  }
  .md_only,
  .lg_only {
    display: block !important;
  }

  .ly_cont {
    max-width: 1080px;
    margin-inline: auto;
  }

  /* ヘッダー */
  .ly_header {
    z-index: 1000;
  }

  .bl_headerCont {
    justify-content: space-between;
    overflow: hidden;
  }

  .bl_header_nav {
    display: flex;
    height: 100%;
    gap: 50px;
  }

  .bl_header_nav_ul {
    height: 100%;
    transform: translateX(6px);
  }

  .bl_header_nav_ul .bl_header_nav_actionBtn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #000;
    height: 100%;
    padding-inline: 32px;
  }

  .bl_header_nav_ul .bl_header_nav_ul_li:last-of-type a {
    border-right: none;
  }

  .bl_header_nav_ul .bl_header_nav_actionBtn a img {
    height: 30px;
    object-fit: contain;
  }

  .bl_header_nav_ul .bl_header_nav_actionBtn.bl_header_nav_actionBtn_myPage,
  .bl_header_nav_ul .bl_header_nav_actionBtn.bl_header_nav_actionBtn_contact {
    position: relative;
    height: 100%;
  }

  .bl_header_nav_ul .bl_header_nav_actionBtn a {
    position: relative;
    z-index: 1;
  }

  .bl_header_logo {
    max-width: 260px;
    width: 100%;
  }

  .ly_contact {
    margin-block: 80px 120px;
    max-width: 1080px;
    margin-inline: auto;
  }

  .ly_footer {
    padding: 40px min(80px, 5vw);
  }

  .bl_footer {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1440px;
    margin-inline: auto;
  }

  .bl_footerLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .bl_footer_links {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
  }

  .bl_footer_links::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    top: 0;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(147, 138, 138, 1) 60%,
      rgba(43, 67, 204, 1) 60%
    );
  }

  .bl_footer_logo {
    padding-inline: 0;
  }

  .bl_contact_text {
    margin-inline: auto min(10%, 180px);
  }

  .el_btn {
    padding: 20px 40px;
  }

  .el_secTtl {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .hp_borderBold {
    margin-top: 12px;
  }

  .hp_mt40 {
    margin-top: 80px;
  }

  .hp_pt40 {
    padding-top: 80px;
  }

  .bl_breadcrumb {
    padding-block: 40px;
  }

  .el_subpTtl {
    position: relative;
    padding-block: 20px 10px;
    border-bottom: #bb9402 2px solid;
    font-size: 2rem;
  }

  .el_subpTtl span {
    color: #fff;
    opacity: 0.05;
    position: absolute;
    top: -24px;
    left: -100px;
    z-index: 1;
    background: transparent;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: white;
    font-size: 72px;
    translate: -20px -20px;
  }

  .el_normalTtl {
    font-size: 1.5rem;
  }

  .el_secHeader {
    margin-top: 34px;
  }
}
