/**
 * 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;
}

/* ページのスクロールバーを見た目上だけ隠す（スクロール機能はそのまま）。
   ビューポートのスクロールバーが html / body どちらから伝播するかは
   ブラウザによって異なるため、両方に指定する。 */
html,
body {
  scrollbar-width: none; /* Firefox / Chrome 121+ */
  -ms-overflow-style: none; /* 旧Edge / IE */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

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: #fff;
  color: #333;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: 'NotoSansJp', sans-serif;
  overscroll-behavior: none;
  line-height: 1.6;
}

.clearfix::after {
  clear: both;
}

li {
  list-style: none;
}

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

/* SPメニューを開いている間、背面のページのスクロールを止める（index.js が付与）。
   html の overflow: hidden だけでは実機のホイール／タッチを止めきれないため、
   body 自体を fixed にしてスクロール領域を無くす。
   top は index.js が「開いた時点のスクロール位置」を打ち消す値を入れる。
   ※ ヘッダーは展開中 position: fixed に切り替えるため（main.css）画面上部に残る。 */
.hp_scrollLock,
.hp_scrollLock body {
  overflow: hidden;
  overscroll-behavior: none;
}
.hp_scrollLock body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* 視覚的に隠すが、スクリーンリーダー・検索エンジンには読ませるテキスト
   （display: none / visibility: hidden と違い、読み上げ対象から外れない） */
.hp_visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* ヘッダー */
.ly_header {
  position: sticky;
  margin-inline: 20px;
  height: 64px;
  top: 0;
  display: flex;
  background: #0e0f14;
  z-index: 1000;
  padding-inline: 20px;
}

/* フッター */
.ly_footer {
  background: #0e0f14;
  color: white;
  text-align: center;
  padding-block: 10px;
}

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

.bl_header_logo {
  text-align: center;
  font-size: x-large;
  line-height: 1.2;
  padding: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.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_post {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================================================  
  エレメントモジュール
================================================ */
/* ボタン */
.el_btn {
  font-size: 1.125rem;
  font-weight: 600;
  background: #23262d;
  color: white;
  border: #333 2px solid;
  width: 300px;
  height: 56px;
  margin-top: 20px;
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.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: 8px;
}

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

/* ================================================
 ヘルパー
================================================ */
/* 余白の調整 */
.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;
}

/* 和文の中に混ざる英字部分だけを --font-en（Figtree）にする。
   例: <span class="hp_en">CEO</span> / Web戦略家 */
.hp_en {
  font-family: var(--font-en);
}

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

  /* コンテンツ実寸を 1080px にする（padding 20px×2 を含めて 1120px） */
  .ly_cont {
    max-width: 1120px;
    margin-inline: auto;
  }

  .ly_normalSec {
    padding-block: 80px;
  }

  /* ヘッダー */
  .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;
  }

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