@charset "utf-8";

html {
  scroll-behavior: smooth;
}

.sp-br {
  display: none;
}

@media (max-width: 767px) {
  .sp-br {
    display: inline;
  }
}

/* ==========================================================================
   共通変数・ルート設定
   ========================================================================== */
:root {
  /* 基本配色（通常モード） */
  --color-text-main: #1f1f1f;
  --color-text-btn01: #ffffff;
  --color-text-btn02: #2c72bc;
  --color-text-hover01: #ff9d00;
  --color-bg-white: #ffffff;
  --color-bg-gray: #f2f2f2;
  --color-bg-yellow: #fffdf7;
  --color-bg-pale-orange: #ffe8c3;
  --color-border--blue: #2c72bc;
  --color-border--yellow: #fce1ac;
  --color-primary: #2c72bc;
  --color-secondly: #f3f7ff;

  /* 基本文字サイズ：rem（ブラウザの基本16pxを基準）に最適化 */
  --font-size-12px: 0.75rem;
  --font-size-14px: 0.875rem;
  --font-size-16px: 1rem;
  --font-size-18px: 1.125rem;
  --font-size-20px: 1.25rem;
  --font-size-24px: 1.5rem;
  --font-size-28px: 1.75rem;
  --font-size-32px: 2.0rem;
  --font-size-36px: 2.25rem;
}

/* -----------------------------------------
   【重要】アクセシビリティ切り替えの定義
----------------------------------------- */
/* 背景色「黒」が選択された場合 */
body[data-theme="dark"] {
  --color-text-main: #ffffff;
  --color-text-btn01: #000000;
  --color-text-btn02: #ffffff;
  --color-text-hover01: #ff9d00;
  --color-bg-white: #000000;
  --color-bg-gray: #1f1f1f;
  --color-bg-yellow: #000000;
  --color-bg-pale-orange: #000000;
  --color-border--blue: #ffffff;
  --color-border--yellow: #ffffff;
  --color-primary: #38bdf8;
  --color-secondly: #1f1f1f;
}

/* 文字サイズ「大」が選択された場合 */
body[data-font-size="large"] {
  --font-size-12px: 1.0rem;
  --font-size-14px: 1.125rem;
  --font-size-16px: 1.25rem;
  --font-size-18px: 1.375rem;
  --font-size-20px: 1.5rem;
  --font-size-24px: 1.75rem;
  --font-size-28px: 2.0rem;
  --font-size-32px: 2.25rem;
  --font-size-36px: 2.5rem;
}

body {
  font-size: var(--font-size-16px);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  transition: background-color 0.2s, color 0.2s;
  font-family: 'Noto Sans JP', "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 400;
  line-height: 1.75;
}

/* ==========================================================================
   共通パーツ：見出し
   ========================================================================== */
.h4-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: var(--font-size-32px);
  color: var(--color-text-main);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.h4-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  width: 40px;
  height: 4px;
  background-color: #4c4cfe;
}

.h4-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 4px;
  background-color: #ff9d00;
}

.h5-title {
  display: flex;
  align-items: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: var(--font-size-24px);
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 32px;
  position: relative;
  padding-left: 48px;
  line-height: 1.4;
}

.h5-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 16px);
  width: 16px;
  height: 16px;
  background-color: #4c4cfe;
  z-index: 2;
}

.h5-title::after {
  content: "";
  position: absolute;
  left: 16px;
  top: calc(50% - 0px);
  width: 16px;
  height: 16px;
  background-color: #ff9d00;
  z-index: 1;
}

.h5-title .order-type {
  font-size: 0.8em;
  font-weight: normal;
}

@media (max-width: 767px) {
  .h4-title {
    font-size: var(--font-size-24px);
    margin-bottom: 30px;
    padding-bottom: 16px;
  }

  .h5-title {
    font-size: var(--font-size-20px);
    display: block;
    padding-left: 40px;
    line-height: 1.5;
  }

  .h5-title::before {
    width: 14px;
    height: 14px;
    top: calc(50% - 14px);
    left: 0;
  }

  .h5-title::after {
    width: 14px;
    height: 14px;
    top: calc(50% - 0px);
    left: 14px;
  }

}

/* ==========================================================================
   共通パーツ：汎用リンクボタン
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text-btn01);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: var(--font-size-16px);
  font-weight: 600;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary:hover {
  color: var(--color-text-hover01);
}

.btn-area {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .btn-primary {
    display: inline-flex;
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
  }

  .btn-area {
    display: block !important;
  }

  .btn-area .btn-primary + .btn-primary {
    margin-top: 16px;
  }
}

/* ==========================================================================
   共通パーツ：検索結果
   ========================================================================== */
/* メッセージ */
.mt-site-search-result__message {
  margin-bottom: 20px;  
}

/* 検索結果一覧 */
.mt-site-search-result__list {
  margin: 0;
  padding: 0;
}

/* 検索結果1件 */
.mt-site-search-result-item {
  margin: 0;
  padding: 0;
  border: 0;
}

/* ページタイトル */
.mt-site-search-result-item__link {
  display: block;
  padding: 3px 0;
}

/* タイトル以外を非表示 */
.mt-site-search-result-item__url,
.mt-site-search-result-item__excerpt {
  display: none;
}

/* ●を表示 */
.mt-site-search-result-item__label::before {
  content: "●";
  display: inline-block;
  margin-right: 0.7em;
  font-size: 0.55em;
  vertical-align: 0.1em;
}

/* リンクの装飾 */
.mt-site-search-result-item a {
  text-decoration: underline;
}

.mt-site-search-result-item a:hover {
  text-decoration: none !important;
}