/**
 * 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.5;
  overflow-x: hidden;
  background: #f2eeed;
}

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';
  font-weight: 400;
  src: url(../fonts/NotoSansJP-Regular.woff) format('woff');
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 500;
  src: url(../fonts/NotoSansJP-Medium.woff) format('woff');
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 600;
  src: url(../fonts/NotoSansJP-Bold.woff) format('woff');
}
@font-face {
  font-family: 'NotoSansJp';
  font-weight: 700;
  src: url(../fonts/NotoSansJP-ExtraBold.woff) format('woff');
}

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

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.17em;
  margin-top: 0.6em;
  margin-bottom: 0.4em;
}

h4 {
  font-size: 1.12em;
}

.clearfix::after {
  clear: both;
}

li {
  list-style: none;
}

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

/* ================================================  
  レイアウト
================================================ */
/* 全体のレイアウト */
.ly_cont {
  padding-inline: 20px;
}

/* ヘッダー */
.ly_header {
  position: fixed;
  top: 10px;
  z-index: 1000;
  padding-inline: 10px;
  max-width: 1190px;
  width: 100%;
  user-select: none;
}

.bl_header_inner {
  background: #f2eeed;
  border-radius: 999px;
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* フッター */
.ly_footer {
  padding: 5px;
}

.bl_footer_inner {
  color: white;
  text-align: center;
  padding-block: 64px 48px;
  border-radius: 4px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/footer/footer-bg.webp') lightgray 50% / cover no-repeat;
}

.bl_footer_logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bl_footer_list {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl_footer_list .bl_footer_list_item a {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 14px;
}

.bl_footer_linkWrap {
  padding-inline: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

.bl_footer_linkWrap .bl_footer_link {
  text-decoration: underline;
  font-size: 12px;
}

.bl_footer_copyright {
  margin-top: 72px;
  opacity: 0.7;
}

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

.bl_header_nav {
  font-size: 13px;
  display: flex;
  align-items: center;
  display: none;
}

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

.bl_header_nav_ul .bl_header_nav_ul_li a {
  padding-inline: 12px;
  display: flex;
  border-right: #fff 1px solid;
  line-height: 1;
}

.bl_header_nav_ul .bl_header_nav_actionBtn a {
  padding-inline: 12px;
  display: flex;
  line-height: 1;
}

/* サブページヘッダー */
.bl_subpHeader {
  padding: 5px;
}
.bl_subpHeader_inner {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/subp-header.webp') lightgray 50% / cover no-repeat;
  padding-block: 110px 48px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  border-radius: 4px;
}

/* ================================================  
  エレメントモジュール
================================================ */
/* ボタン */
.el_btn {
  font-weight: 600;
  background: #64bcbe;
  color: white;
  border: #64bcbe 1px solid;
  width: 280px;
  height: 48px;
  margin-top: 20px;
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.el_btn_withIcon_img {
  transition: all 0.3s ease;
}

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

.el_btn:hover .el_btn_withIcon_img,
.el_btn:focus .el_btn_withIcon_img {
  border-color: #333;
  stroke: #333;
}

.el_btn_withIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.el_humb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  top: 25px;
  right: 35px;
  user-select: none;
}

.el_humb span {
  display: block;
  width: 21px;
  height: 1.5px;
  background: #3366cc;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  will-change: transform, opacity;
}

.el_humb.is_open span:nth-of-type(1) {
  transform: rotate(45deg) translateY(9px);
}

.el_humb.is_open span:nth-of-type(2) {
  opacity: 0;
}
.el_humb.is_open span:nth-of-type(3) {
  transform: rotate(-45deg) translateY(-9px);
}

/* ハンバーガーメニューのナビゲーション */
.bl_nav {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  height: 0px;
  background: #f2eeed;
  z-index: 100;
  user-select: none;
  /* 初期状態 */
  visibility: hidden;
  /* アニメーション - 高速化 */
  transition: height 0.2s ease, visibility 0s;
  border-radius: 0 0 32px 32px;
}

.bl_nav_ul {
  opacity: 0;
  padding: 60px 32px;
}

.bl_nav.is_open .bl_nav_ul {
  opacity: 1;
  transition: opacity 0.15s ease;
  transition-delay: 0.05s;
}

.el_nav_close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  z-index: 100000;
}

.el_nav_close span {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 999px;
  transform: rotate(45deg);
}

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

.bl_nav.is_open {
  visibility: visible;
  height: 380px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.bl_nav_ul {
  display: flex;
  font-weight: 600;
  flex-direction: column;
  gap: 16px;
}

.bl_nav_ul_li {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* セクションタイトル */
.bl_secTtl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bl_secTtl span {
  line-height: 1;
  font-size: 32px;
  font-family: 'Futura', sans-serif;
}

.bl_secTtl h2 {
  font-size: 14px;
  position: relative;
  background: #f2eeed;
  padding-inline: 10px;
}

.bl_secTtl h2::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 64px);
  height: 1px;
  background: #000;
  z-index: -1;
}

.el_secTtl_under {
  text-align: center;
  margin-top: 30px;
  font-weight: 600;
  font-size: 15px;
}

.bl_secTtl.bl_subpTtl h1 {
  font-size: 14px;
  position: relative;
  padding-inline: 10px;
  font-weight: 500;
}

/* プランカード */
.ly_plan {
  margin-top: 64px;
}

.bl_plan {
  margin-top: 64px;
}

.bl_plan_wrap {
  padding-inline: 20px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  margin-top: 30px;
  max-width: 1280px;
  margin-inline: auto;
}

.bl_plan_wrap.swiper {
  padding-inline: 20px;
}

.bl_plan_item {
  background: #fff;
}

.bl_plan_item .bl_plan_item_ttl {
  background: #64bcbe;
  color: white;
  padding: 14px;
  text-align: center;
  line-height: 1.2;
  font-size: 16px;
}

.bl_plan_item .bl_plan_item_ttl h3 {
  margin: 0;
}

.bl_plan_item.hp_expPlan .bl_plan_item_ttl {
  background: #f59b5f;
}

.bl_plan_item.hp_personalPlan .bl_plan_item_ttl {
  background: #3366cc;
}

.bl_plan_item_txt {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.bl_plan_item .bl_plan_item_txt:nth-child(odd) {
  background: #d4f1f2;
}

.bl_plan_item.hp_expPlan .bl_plan_item_txt:nth-child(odd) {
  background: #ffdeaf;
}

.bl_plan_item.hp_personalPlan .bl_plan_item_txt:nth-child(odd) {
  background: #d9e2f6;
}

.bl_plan_item_txt p {
  padding: 12px 16px;
}

.bl_plan_item_txt_title {
  width: 30%;
}

.bl_plan_item_txt_value {
  font-size: 18px;
  font-family: 'Futura', sans-serif;
  font-weight: 700;
}

.bl_plan_item_txt_value span {
  font-size: 10px;
}

.bl_plan_wrap.swiper .swiper-pagination {
  bottom: 0 !important;
}

/* plan card */
.bl_plan_item.hp_normalPlan .bl_plan_item_ttl {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.bl_plan_item.hp_normalPlan .bl_plan_item_ttl h3 {
  font-size: 14px;
  width: 40%;
}

.bl_plan_item_ttl_subject {
  background: #55a4a5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 12px;
  width: 60%;
}

.bl_plan_item_ttl_subject span {
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  background: white;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  color: #55a4a5;
}

.bl_plan_item_ttl_subject p {
  text-align: left;
}

.bl_plan_under_txt {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* news */
.ly_news {
  margin-top: 64px;
}

.bl_news_wrap {
  width: 100%;
  padding-inline: 20px;
  margin-top: 40px;
  max-width: 768px;
  margin-inline: auto;
}

.bl_news_item {
  display: block;
  border-top: #000 1px solid;
  padding-block: 16px;
}

.bl_news_item:last-of-type {
  border-bottom: #000 1px solid;
}

.bl_news_item p {
  font-size: 14px;
  font-family: Helvetica, sans-serif;
}

.bl_news_item h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* cta */
.bl_cta {
  margin-top: 64px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/cta-bg.webp') lightgray 50% / cover no-repeat;
  color: white;
  text-align: center;
  padding-block: 64px;
}

.bl_cta.hp_bgJuniorCta {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/junior-1-1.webp') lightgray 50% / cover no-repeat;
}

.bl_cta h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 500;
}

.bl_cta p {
  font-size: 13px;
  font-weight: 500;
  margin-top: 16px;
}

/* ================================================  
 ヘルパー
================================================ */
/* 余白の調整 */
.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_bgOrange {
  background: #f59b5f;
  border-color: #f59b5f;
}

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

.xl_only {
  display: none;
}

.price_note_tax {
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
  color: #55a4a5;
}

.el_btn.hp_slideInnerBtn {
  margin-top: 10px;
  width: 275px;
}

.hp_juniorPlanCard {
  padding-bottom: 20px;
}

.subp_table_wrap::-webkit-scrollbar {
  display: none;
}

.bl_access_wrap {
  max-width: 1160px;
  margin-top: 20px;
  margin-inline: auto;
  padding-bottom: 58.5%;
  position: relative;
  height: 0;
  overflow: hidden;
}

.bl_access_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@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_normalSec {
    padding-block: 80px;
  }

  /* ヘッダー */
  .ly_header {
    top: 20px;
    z-index: 1000;
    max-width: 1190px;
    left: 50%;
    transform: translateX(-50%);
  }

  .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;
  }

  .el_btn {
    width: 400px;
    height: 64px;
    margin-inline: auto;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 60px;
    margin-bottom: 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;
  }

  /* フッター */
  .ly_footer {
    padding: 24px;
  }

  .bl_footer_inner {
    padding: 56px;
    border-radius: 8px;
  }

  .bl_footer_logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .bl_footer_list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    padding-block: 64px;
  }

  .bl_footer_linkWrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .el_secTtl_under {
    font-size: 16px;
    margin-top: 48px;
  }

  .bl_plan_item {
    background: #fff;
    min-height: 247px;
  }

  .bl_plan_item_ttl h3 {
    font-size: 20px;
  }

  .bl_plan_item_txt_value {
    font-size: 24px;
  }

  .bl_plan_item_txt {
    font-size: 14px;
  }

  .bl_cta {
    margin-top: 100px;
  }
}

@media screen and (min-width: 1024px) {
  .xl_only {
    display: block;
  }
  .el_humb {
    display: none;
  }

  .bl_header_inner {
    gap: 72px;
    height: 80px;
  }

  .bl_header_logo {
    width: 100px;
  }

  .bl_header_logo a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .bl_header_nav_ul {
    display: flex !important;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
    color: #3366cc;
  }

  .bl_header_nav_ul li a {
    transition: all 0.3s ease;
    display: flex;
  }

  .bl_header_nav_ul li a:hover {
    opacity: 0.7;
  }

  .bl_secTtl span {
    font-size: 40px;
  }

  .bl_plan_item.swiper-slide.hp_normalPlan .el_btn {
    width: 300px !important;
    margin-top: 30px !important;
  }

  .bl_access_wrap {
    margin-top: 64px;
    padding-bottom: 30%;
  }
}
