/**
 * File: base.css
 * Usage: 全ページ共通のスタイルを定義します。レイアウト、モジュールなど。
 * Example: ly_header, ly_footer, el_btn, el_gradientGold, el_subpTtl, el_normalTtl
*/

@charset "UTF-8";

:root {
  --text-primary: #292929;
  --text-secondary: #696969;
  --text-contrast: #f5f5f5;
  --border-primary: #b2b2b2;
  --bg-primary: #edeee9;
  --label-sale: #fa0f00;

  --swiper-pagination-color: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 0) 40%
  );
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-active: 0;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-inactive-color: transparent;
}

/* ================================================  
 リセットの記述
================================================ */

*,
*::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;
  user-select: none;
}
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: 'ShipporiMincho';
  font-weight: 400;
  src: url(../fonts/ShipporiMinchoB1-Regular.ttf) format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ShipporiMincho';
  font-weight: 500;
  src: url(../fonts/ShipporiMinchoB1-Medium.ttf) format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ShipporiMincho';
  font-weight: 800;
  src: url(../fonts/ShipporiMinchoB1-ExtraBold.ttf) format('truetype');
  font-display: swap;
} */

/* ================================================  
 スタイルの適用(モバイルファーストで記述)
================================================ */
body {
  background-color: #fafafa;
  color: var(--text-primary);
  width: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: 'ShipporiMincho', serif;
  overscroll-behavior: none;
}

body:has(.bl_nav.isOpen) {
  overflow: hidden;
}

li {
  list-style: none;
}

/* メディアクエリ用の表示・非表示 */
.sm_only {
  display: block !important;
}
.md_only,
.lg_only {
  display: none !important;
}

section {
  scroll-margin: 100px;
}

/* ================================================  
  レイアウト
================================================ */
/* 全体のレイアウト */

.ly_header {
  position: fixed;
  z-index: 1000;
  top: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-contrast);
  padding-inline: 20px;
  width: 100%;
  font-size: 15px;
  padding-block: 8px;
  transition: background-color 0.3s ease;
}

.ly_main {
  overflow: clip;
}

.bl_header {
  width: 70%;
  display: flex;
  justify-content: space-between;
  gap: 30%;
  align-items: center;
  font-weight: 800;
}

.bl_header img {
  max-width: 120px;
  height: auto;
}

.bl_headerLinks {
  display: flex;
  gap: 40px;
  height: fit-content;
}

.bl_headerLinks svg {
  margin-bottom: 3px;
}

.bl_headerLinks_inner {
  display: none;
}

.bl_navHamb {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 32px;
}

.bl_navLanguage .bogo-language-switcher {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
.bl_navLanguage .bogo-language-switcher li {
  position: relative;
  transition: all 0.3s;
}

.bl_navLanguage .bogo-language-switcher li:hover {
  border-bottom: 1px solid #fff;
}

.bl_navLanguage .bogo-language-switcher li:last-child::after {
  content: '/';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translate(50%, -50%);
}

.bl_navLanguage .bogo-language-switcher .ja {
  order: 1;
}

.bl_navLanguage .bogo-language-switcher .en-US {
  order: 2;
}

.el_hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
  height: 40px;
  width: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.el_hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background-color: #fff;
}

/*===============================================
  ナビゲーション
================================================ */

.bl_nav {
  display: none;
  max-height: 100vh;
}

.el_navImg {
  height: 100%;
  width: fit-content;
  flex-shrink: 0;
  max-width: 33vw;
}

.el_navImg img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.bl_navContWrap {
  overflow: scroll;
  width: 100%;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.bl_navCont {
  margin: 80px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bl_navContItem {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.el_navHeading {
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid #b2b2b2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bl_navContItem a:not(.el_navHeading) {
  color: var(--text-secondary);
  font-size: 14px;
  padding-inline: 20px;
}

.bl_navBtns {
  margin-block: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl_nav.isOpen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fafafa;
  z-index: 1000;
}

.bl_navTop {
  position: absolute;
  top: 9px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.bl_navSns {
  display: flex;
  gap: 16px;
  padding-inline: 20px;
  justify-content: center;
}

.bl_navFooter {
  font-size: 14px;
  padding-block: 40px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.bl_navFooter a {
  font-size: 12px;
  color: var(--text-secondary);
}

.el_nav_close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
  height: 40px;
  width: 40px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
}

.el_nav_close span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-primary);
}

.el_nav_close span:first-child {
  transform: translate(0px, 5px) rotate(30deg);
}

.el_nav_close span:last-child {
  transform: translate(0px, -4px) rotate(-30deg);
}

.ly_section {
  padding-inline: 20px;
}

.ly_footer {
  border-top: 1px solid #b2b2b2;
}

.bl_footer {
  padding: 40px 20px;
}

.bl_footer_cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.bl_footer_linksTop {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bl_footer_links .ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.bl_footer_btns {
  margin-block: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bl_footer_logo {
  width: 300px;
  margin-block: 80px;
}

.bl_footer_logo img {
  width: 160px;
  height: auto;
}

.bl_footer_logo p {
  margin-top: 20px;
  font-size: 14px;
}

.bl_footer_external {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 80px;
}

.bl_footer_external .bl_footer_sns {
  display: flex;
  gap: 16px;
}

.bl_footer_external .bl_footer_meta {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.bl_footer_external .bl_footer_meta a {
  color: #494949;
}

.bl_footer_external small {
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.ly_footer .bl_navLanguage {
  padding-block: 20px;
  position: relative;
}

.ly_footer .bl_navLanguage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  transform: translateX(-20px);
  height: 1px;
  background-color: var(--border-primary);
}

.ly_footer .bl_navLanguage li {
  border-color: var(--text-primary);
}

.ly_footer .bl_navLanguage .bogo-language-switcher li:last-child::after {
  content: url(../img/icons/lang-sep-black.svg);
}

/* ================================================  
 ブロックモジュール
================================================ */

.ly_chinkinFloat {
  position: fixed;
  bottom: 50lvh;
  transform: translate(0, 50%);
  right: 0;
  z-index: 700;
  width: 12vw;
  max-width: 80px;
  height: auto;
}

/* ================================================  
 ハンバーガーメニュー
================================================ */

@media screen and (min-width: 768px) {
  .sm_only {
    display: none !important;
  }
  .md_only {
    display: block !important;
  }

  .ly_header {
    padding-inline: 80px;
    padding-block: 20px;
  }

  .bl_header {
    gap: 10%;
  }

  .bl_header img {
    max-width: 142px;
  }

  .el_hamburger {
    width: 56px;
    height: 56px;
  }

  .el_hamburger span {
    width: 24px;
  }

  .el_nav_close {
    height: 56px;
    width: 56px;
    z-index: 1001;
  }

  .bl_nav.isOpen {
    flex-direction: row;
    gap: 0;
    width: 100vw;
  }

  .el_navHeading {
    font-size: 20px;
    padding-bottom: 24px;
  }

  .bl_navTop {
    top: 20px;
    gap: 32px;
    right: 80px;
  }

  .bl_navContWrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    margin: 35px 80px;
    position: relative;
  }

  .bl_navCont {
    gap: 40px 56px;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0;
    max-width: 656px;
  }

  .bl_navContItem {
    max-width: 300px;
    width: 100%;
  }

  .bl_navFooter {
    flex-direction: row;
    padding-bottom: 35px;
    gap: 32px;
    justify-content: start;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .bl_navBtns {
    flex-direction: row;
    gap: 56px;
  }

  .bl_navBtns .el_btn {
    margin-inline: 0;
    max-width: 300px;
  }

  .bl_navSns {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-bottom: 35px;
  }

  .bl_headerLinks.md_only {
    display: flex !important;
  }

  .swiper-horizontal > .swiper-pagination-bullets {
    gap: 32px;
    right: 32px;
  }

  .bl_footer_cont {
    flex-direction: row;
    justify-content: space-between;
    max-width: 960px;
  }

  .bl_footer {
    max-width: 1220px;
    margin-inline: auto;
    padding-block: 88px 0;
    position: relative;
  }

  .bl_footer_btns {
    max-width: 360px;
  }

  .bl_footer_logo {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 0px;
    text-align: right;
    margin-right: 0;
  }

  .bl_footer_logo img {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
  }

  .el_dropdownHandle {
    position: relative;
  }

  .el_dropdownHandle:hover .bl_headerLinks_inner,
  .el_dropdownHandle:focus .bl_headerLinks_inner {
    position: absolute;
    top: 100%;
    left: 0;
    right: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    background: #fafafa;
    border: 1px solid var(--border-primary);
    border-top: none;
    color: var(--text-secondary);
    transition: all 0.3s;
  }

  .el_dropdownHandle ul li:hover {
    color: var(--text-primary);
  }
}

@media screen and (min-width: 1200px) {
  .lg_only {
    display: block !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .ly_header {
    gap: 8px;
    font-size: 14px;
    padding-inline: 20px;
  }

  .bl_header {
    gap: 15px;
    width: 80%;
  }

  .bl_headerLinks {
    gap: 1.7vw;
  }

  .bl_navHamb {
    gap: 24px;
  }
}
