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

/* ================================================
 アンカーリンク用のスクロールマージン
================================================ */
html {
  scroll-padding-top: 80px;
}

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

/* ================================================  
 スタイルの適用(モバイルファーストで記述)
================================================ */
body {
  background: #faf5e1;
  color: #333;
  width: 100%;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  font-family: 'ZenMaruGothic', 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_cont {
  padding-inline: 20px;
}

/* ヘッダー */
.ly_header {
  position: sticky;
  background: #faf5e1;
  width: 100%;
  height: 64px;
  top: 0;
  display: flex;
  z-index: 1000;
  padding-inline: 16px;
}

/* フッター */
.ly_footer {
  background: white;
  padding: 46px 10px 40px 14px;
  font-size: 12px;
  font-weight: 500;
  border-top: 5px solid var(--color, #fbc723) !important;
}

.bl_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ly_footer li {
  display: flex;
  white-space: nowrap;
}

.el_footerLogo {
  max-width: 80px;
  flex-shrink: 0;
  height: auto;
}

@media screen and (min-width: 320px) and (max-width: 375px) {
  .ly_footer li {
    display: flex;
    flex-direction: column;
  }

  .bl_footer {
    align-items: center;
  }
}

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

.bl_header_logo {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bl_header_logo small {
  font-size: 12px;
}

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

.bl_header_nav_ul {
  display: flex;
  background: #fff;
  border-radius: 12px;
  align-items: center;
  padding: 10px 0;
}

.bl_header_nav_ul li:hover {
  text-decoration: underline;
}

.bl_header_nav_ul .bl_header_nav_ul_li a {
  padding-inline: clamp(0.5rem, 0.25rem + 1.25vw, 1.75rem);
  display: flex;
  align-items: center;
  gap: 4px;
  border-right: #000 1px dashed;
  line-height: 1;
  font-weight: 600;
  font-size: clamp(1rem, 0.875rem + 0.625vw, 1.625rem);
}

.bl_header_nav_ul .bl_header_nav_ul_li a svg {
  height: 30px;
  width: auto;
}

.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: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

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

.bl_nav_ul {
  padding: 4px 24px 16px;
}

.bl_nav_ul_li a {
  min-width: 200px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}

.bl_nav_ul_li:not(:last-of-type) a {
  border-bottom: 1px dashed #000000;
  padding-bottom: 14px;
}

.bl_nav_ul_li a svg {
  max-height: 24px;
  justify-self: center;
  width: auto;
}

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

.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 {
  opacity: 1;
  visibility: visible;
}

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

.color-yellow {
  --color: #fbc723;
  --color-sub: #d0a726;
}

.color-green {
  --color: #00b1a9;
  --color-sub: #0d928c;
}

.color-red {
  --color: #d80d18;
  --color-sub: #b01015;
}

.color-blue {
  --color: #004b95;
  --color-sub: #003d7c;
}

.color-orange {
  --color: #ff8100;
  --color-sub: #cf6c14;
}

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

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

  html {
    scroll-padding-top: 120px;
  }

  .ly_normalSec {
    padding-block: 80px;
  }

  /* ヘッダー */
  .ly_header {
    z-index: 1000;
    height: fit-content;
    padding-right: clamp(1.25rem, -0.8333rem + 4.3403vw, 4.375rem);
  }

  .bl_headerCont {
    justify-content: space-between;
    overflow: hidden;
    padding-block: 12px;
  }

  .bl_header_logo {
    font-size: 24px;
  }

  .bl_header_logo small {
    font-size: 18px;
  }

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

  .bl_header_nav_ul .bl_header_nav_ul_li a {
    gap: clamp(0.25rem, -0.0833rem + 0.6944vw, 0.75rem);
  }

  .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_humb {
    display: none;
  }

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

  .ly_footer {
    padding-block: min(4.3vw, 84px) min(3.6vw, 70px);
  }

  .bl_footer {
    max-width: 1200px;
    font-size: clamp(0.875rem, 0.4167rem + 0.9549vw, 1.5625rem);
    margin-inline: auto;
    justify-content: space-between;
  }

  .el_footerLogo {
    max-width: min(10vw, 200px);
  }
}

@media screen and (min-width: 1440px) {
  .bl_header_logo {
    font-size: clamp(1.5rem, -2.4375rem + 4vw, 2.8125rem);
  }

  .bl_header_logo small {
    font-size: clamp(1.125rem, -0.75rem + 2.0833vw, 1.75rem);
  }

  .bl_header_nav_ul .bl_header_nav_ul_li a svg {
    font-size: clamp(2.5rem, 2.125rem + 0.4167vw, 2.625rem);
  }
}
