@charset "UTF-8";
/**
 * ヘッダー
**/
[id="header"] {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  background: #fff;
  color: var(--font-c);
  text-align: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 40px;
  position: relative;
}
@media (max-width: 1300.98px) {
  [id="header"] {
    padding: 0 20px;
  }
}
@media (max-width: 959.98px) {
  [id="header"] {
    padding: 0 8px 0 var(--site-container-padding);
  }
}
@media (max-width: 767.98px) {
  [id="header"] {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    height: auto;
    padding: 8px;
  }
}

.header_logo {
  position: absolute;
  top: 50%;
  left: 40px;
  z-index: 1;
  transform: translate(0, -50%);
}
@media (max-width: 1300.98px) {
  .header_logo {
    left: 16px;
  }
}
@media (max-width: 767.98px) {
  .header_logo {
    position: absolute;
    top: 24px;
    left: 8px;
    z-index: 1;
    transform: translate(0, -50%);
  }
}

.header_logo img {
  display: block;
  width: 200px;
}
@media (max-width: 959.98px) {
  .header_logo img {
    width: 144px;
  }
}
@media (max-width: 767.98px) {
  .header_logo img {
    width: 135px;
  }
}

.header_link {
  position: relative;
  padding: 0 16px;
}
@media (max-width: 1300.98px) {
  .header_link {
    padding: 0 8px;
  }
}
@media (max-width: 959.98px) {
  .header_link {
    padding: 0 8px;
  }
}
@media (max-width: 767.98px) {
  .header_link {
    display: none;
  }
}

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

/**.header_link li {
  padding: 0 16px;
}
@media (max-width: 1300.98px) {
  .header_link li {
    padding: 0 8px;
  }
}
@media (max-width: 959.98px) {
  .header_link li {
    padding: 0 8px;
  }
}**/

.header_link a {
  display: block;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}
@media (max-width: 1300.98px) {
  .header_link a {
    display: block;
    font-size: 12px;
    line-height: 16px;
  }
}
@media (max-width: 959.98px) {
  .header_link a {
    display: block;
    font-size: 11px;
    line-height: 16px;
  }
}


/**
 * ヘッダー 検索窓
 * NOTE: ヘッダー以外でも使用可能
**/
.word_search_wrap {
  width: 100%;
}
@media (max-width: 767.98px) {
  .word_search_wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
  }
}
@media (max-width: 767.98px) {
  [id="header"] .word_search_wrap {
    margin-top: 8px;
  }
}

.word_search {
  --word-search-height: 40px;
  width: 300px;
}
@media (max-width: 1300.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 256px;
  }
}
@media (max-width: 959.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 200px;
  }
}
@media (max-width: 767.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 100%;
  }
}

.word_search form,
.word_search__form {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
}

.word_search .search-field[type="search"],
.word_search .search-field,
.word_search__word[type="search"],
.word_search__word {
  border-radius: 0;
  border: none;
  color: var(--font-c);
  line-height: 1;
  width: calc(100% - var(--word-search-height));
  height: var(--word-search-height);
  margin: 0;
  padding: 0 8px;
}
.word_search__word::placeholder {
  color: var(--site-c-gray);
  opacity: 0.56;
}
@media (max-width: 959.98px) {
  .word_search .search-field[type="search"],
  .word_search .search-field,
  .word_search__word[type="search"],
  .word_search__word {
    font-size: 12px;
  }
}
@media (max-width: 767.98px) {
  .word_search .search-field[type="search"],
  .word_search .search-field,
  .word_search__word[type="search"],
  .word_search__word {
    font-size: 12px;
  }
}

.word_search .search-submit,
.word_search__submit {
  border-radius: 0;
  border: solid 2px var(--site-c-black);
  background: var(--site-c-black);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  width: var(--word-search-height);
  height: var(--word-search-height);
  padding-right: 2px;
}
.word_search .search-submit i,
.word_search__submit {
  color: #fff;
  font-size: 20px;
}
@media (max-width: 959.98px) {
  .word_search .search-submit i,
  .word_search__submit {
    font-size: 20px;
  }
}
@media (max-width: 767.98px) {
  .word_search .search-submit i,
  .word_search__submit {
    font-size: 20px;
  }
}


/**
 * ヘッダー ボタン
 * NOTE: header_btn_XXXX の命名ルールが必要
**/
[class*="header_btn_"] {
  width: 160px;
  margin-left: 5px;
  transition: background-color 0.2s ease 0.3s;
}
@media (max-width: 1300.98px) {
  [class*="header_btn_"] {
    width: 96px;
  }
}
@media (max-width: 959.98px) {
  [class*="header_btn_"] {
    width: 72px;
  }
}
@media (max-width: 767.98px) {
  [class*="header_btn_"] {
    width: 56px;
    margin: 0 2px;
  }
}

/* 基本 */
[class*="header_btn_"]>* {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: solid 1px var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  height: 40px;
}
[class*="header_btn_"]>*:hover,
[class*="header_btn_"]>*:focus {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
@media (max-width: 1300.98px) {
  [class*="header_btn_"]>* {
    font-size: 11px;
    height: 40px;
  }
}
@media (max-width: 959.98px) {
  [class*="header_btn_"]>* {
    font-size: 10px;
    height: 36px;
  }
}
@media (max-width: 767.98px) {
  [class*="header_btn_"]>* {
    font-size: 8px;
    line-height: 12px;
    height: 35px;
  }
}

/* 色 */
/* 色 新規登録 */
.header_btn_reg>* {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
.header_btn_reg>*:hover,
.header_btn_reg>*:focus {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
/* 色 ログイン */
.header_btn_login>* {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
.header_btn_login>*:hover,
.header_btn_login>*:focus {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
/* 色 現在地から探す */
.header_btn_n>* {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}
.header_btn_n>*:hover,
.header_btn_n>*:focus {
  border-color: var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
}


/**
 * ドロワーメニュー
**/
.sp_navi {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  height: 40px;
  position: relative;
}

@media (min-width: 1301px) {
  .sp_navi {
    display: none;
  }
}
@media (max-width: 1300.98px) {
  .sp_navi {
    width: 40px;
  }
}
@media (max-width: 959.98px) {
  .sp_navi {
    width: 40px;
  }
}
@media (max-width: 767.98px) {
  .sp_navi {
    width: 40px;
  }
}


/**
 * ドロワーメニュー スイッチ
**/
[id="open_switch"] {
  position: absolute;
  opacity: 0 !important;
}

/**
 * ドロワーメニュー オーバーレイ
**/
[id="close_overlay"] {
  display: block;
  background: rgba(0,0,0,0.25);
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
[id="open_switch"]:checked~[id="close_overlay"] {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s ease;
}


/**
 * ドロワーメニュー ハンバーガーアイコン
**/
[id="open"].btn {
  display: block;
  border-radius: 0;
  border: none;
  background: inherit;
  font-weight: 300;
  text-decoration: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

[id="open_icon"] {
  display: block;
  position: relative;
  z-index: 1;
  height: 35px;
  width: 38px;
}

[id="open_icon"] div {
  background-color: var(--site-c-gray);
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  z-index: 1;
  height: 2px;
}
[id="open_icon"] div:nth-of-type(1) {
  top: 25%;
}
[id="open_icon"] div:nth-of-type(2) {
  top: 50%;
}
[id="open_icon"] div:nth-of-type(3) {
  top: 75%;
}


/**
 * ドロワーメニュー 本体
**/

[id="g_menu"] {
  background: #fff;
  color: #fff;
  text-align: left;
  max-width: 400px;
  width: 90vw;
  height: 100vh;
  padding: 0;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 10000;
  transition: right 0.6s ease;
}
[id="open_switch"]:checked~[id="g_menu"] {
  right: 0;
  transition: right 0.3s ease;
}


/**
 * ドロワーメニュー ×アイコン
**/
[id="close"].btn {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  width: auto;
  height: 48px;
  border: none;
  background: inherit;
  border-radius: 0;
  font-weight: 300;
  text-decoration: none;
  padding: 8px;
}
[id="close"].btn::before {
  content: '';
  display: block;
  width: 120px;
  height: 32px;
  /*background-image: url("../images/logo_b.png");*//* NOTE: 明るい背景用 */
  /* background-image: url("../images/logo_w.png"); *//* NOTE: 旧ロゴ */
  background-image: url("../images/md-logo_color.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% auto;
  filter: brightness(0) invert(1);
  opacity: 0.66;
}

[id="close"] label,
[id="close"] a {
  display: inline-block;
  color: rgba(255,255,255,0.33);
  font-size: 28px;
  text-align: center;
  width: 44px;
}


/**
 * ドロワーメニュー リスト
**/
[id="g_menu"] ul {
  border-top: 1px solid var(--site-border-c);
  padding: 0 28px;
	background: #fff;
}

[id="g_menu"] li {
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1ex;
  position: relative;
}

[id="g_menu"] li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--site-border-c);
  height: 48px;
  padding: 0 20px;
	    color: #334155;
}

[id="g_menu"] li a::before {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--site-c-main);
  display: block;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translate(0, -50%);
  transition: all 0.2s ease;
}



/**
 * パンくず
**/
.bc_nav {
  background: var(--bc-bg-c);
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  padding: 12px 0;
}
@media (max-width: 767.98px) {
  .bc_nav {
    background: var(--bc-bg-c-sp);
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    margin: 0;
    padding: 0 0 8px;
    overflow: hidden;
    position: relative;
  }
}

.bc_nav ol,
.bc_nav ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .bc_nav ol,
  .bc_nav ul {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    opacity: 0.33;
  }
}

@media (max-width: 767.98px) {
  .bc_nav ol::after,
  .bc_nav ul::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 3em;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
  }
}

.bc_nav li {
  display: inline-block;
}
@media (max-width: 767.98px) {
  .bc_nav li {
    color: var(--font-c);
    display: inline;
    line-height: 14px;
  }
}
.bc_nav li+li::before {
  content: '\f125';
  display: inline-block;
  font-family: 'Ionicons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-left: 8px;
  margin-right: 8px;
}
@media (max-width: 767.98px) {
  .bc_nav li+li::before {
    content: '\f3d3';
  }
}
.bc_nav li a {
  color: var(--font-c);
}
@media (max-width: 767.98px) {
  .bc_nav li a {
    color: inherit;
  }
}
@media (max-width: 767.98px) {
  [id="main_image_sub"] + .bc_nav {
    padding: 8px 0;
  }
}


[id="main_image_sub"] {
  width: 100%;
  height: auto;
  background: url("../images/main_image_01.png") no-repeat center top;
  background-size: cover;
  overflow: hidden;
  position: relative;
  padding: 120px 0;
}
@media (max-width: 767.98px) {
  [id="main_image_sub"] {
    background-size: cover;
    background-position: left 40% top 50%;
    padding: 64px 0;
  }
}

[id="main_image_sub"] h1,
[id="main_image_sub"] h2 {
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 8px;
  text-align: right;
}
@media (max-width: 767.98px) {
  [id="main_image_sub"] h1,
  [id="main_image_sub"] h2 {
    font-size: 24px;
  }
}
[id="main_image_sub"] em {
  color: var(--site-c-main);
}


/**
 * コンテンツ
**/
[id="content"] {
  padding: 0;
  background-color: var(--site-bg-c-underlayer);
}

[id="home"] [id="content"] {
  background-color: var(--site-bg-c);
}

.bc_nav ~ [id="content"] {
  padding-top: 48px;
}
@media (max-width: 959.98px) {
  .bc_nav ~ [id="content"] {
    padding-top: 24px;
  }
}
@media (max-width: 767.98px) {
  .bc_nav ~ [id="content"] {
    padding-top: 16px;
  }
}

[id="content"] > .base_wrap {
  padding-bottom: 50px;
}
@media (max-width: 767.98px) {
  [id="content"] > .base_wrap {
    padding-top: 0;
  }
}

/**
 * #main, #side
**/
[id="main"] {
  padding: 0 0 25px;
  width: 75%;
}
@media (max-width: 767.98px) {
  [id="main"] {
    padding: 16px 0 0;
    width: 100%;
  }
}

[id="main"]:only-child {
  margin-left: auto;
  margin-right: auto;
}

[id="side"] {
  width: 25%;
  max-width: 300px;
}
@media (max-width: 767.98px) {
  [id="side"] {
    padding: 16px 0;
    width: 100%;
  }
}

/**
 * フッター
**/
[id="footer"] {
  width: 100%;
  text-align: left;
  background: var(--site-c-main);
  color: #fff;
}
@media (max-width: 959.98px) {
  [id="footer"] {
    font-size: 13px;
  }
}

[id="footer"] .wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 959.98px) {
  [id="footer"] .wrap {
    padding: 32px 20px;
    flex-wrap: wrap;
  }
}
@media (max-width: 767.98px) {
  [id="footer"] .wrap {
    margin: 0 auto;
    padding: 16px 16px 0;
    width: 100%;
  }
}


[id="footer_logo"] {
  max-width: 144px;
  width: 100%;
  text-align: left;
}
@media (max-width: 959.98px) {
  [id="footer_logo"] {
    margin-bottom: 16px;
  }
}
@media (max-width: 767.98px) {
  [id="footer_logo"] {
    width: 100%;
    margin-top: 20px;
    order: 3;
  }
}
[id="footer_logo"] a {
  display: block;
}
[id="footer_logo"] img {
  width: 100%;
  height: auto;
}
@media (max-width: 767.98px) {
  [id="footer_logo"] img {
    max-width: 128px;
  }
}


[id="footer_navi"] {
  margin-left: auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 959.98px) {
  [id="footer_navi"] {
    margin: 0;
  }
}
@media (max-width: 767.98px) {
  [id="footer_navi"] {
    flex-wrap: wrap;
    order: 2;
  }
}

[id="footer"] .link_box {
  padding: 0 40px 0 16px;
  border-left: solid 1px var(--footer-border);
}
@media (max-width: 959.98px) {
  [id="footer"] .link_box {
    margin: 0 20px;
  }
}
@media (max-width: 767.98px) {
  [id="footer"] .link_box {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
  }
}

[id="footer"] .link_box li {
  margin-bottom: 16px;
}
@media (max-width: 959.98px) {
  [id="footer"] .link_box li {
    margin-bottom: 8px;
  }
}
@media (max-width: 767.98px) {
  [id="footer"] .link_box li {
    margin-bottom: 0;
  }
}

[id="footer"] .link_box li:last-child {
  margin-bottom: 0;
}

[id="footer"] .link_box li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: inherit;
}
@media (max-width: 767.98px) {
  [id="footer"] .link_box li a {
    padding: 12px 0 0;
  }
}

@media (max-width: 767.98px) {
  [id="footer"] .link_box li a br {
    display: none;
  }
}

[id="footer_contact"] {
  width: 200px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  align-items: center;
}
@media (max-width: 959.98px) {
  [id="footer_contact"] {
    margin: 25px auto 0;
  }
}
@media (max-width: 767.98px) {
  [id="footer_contact"] {
    margin: 0 auto 17.5px;
    order: 1;
  }
}

[id="footer_contact"] p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}
[id="footer_contact"] p::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("../images/icon_hatena.png") center center/100% no-repeat;
  display: inline-block;
  position: relative;
  top: 0;
  right: 3.125px;
}

[id="footer_contact"] .box_more {
  width: 100%;
}

[id="footer_contact"] .box_more a {
  color: var(--font-c);
  background: var(--site-bg-c-sub);
  border: none;
}

[id="footer_contact"] .box_more a::after {
  background-image: url(../images/arrow_10.png);
}

[id="footer"] [id="copyright"] {
  font-size: 14px;
  text-align: center;
  padding: 8px;
  border-top: solid 1px var(--footer-border);
}


[id="page_top"] {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 64px;
  height: 64px;
  background: url("../images/pagetop.png") center center no-repeat;
  background-size: contain;
  z-index: 2000;
}
@media (max-width: 959.98px) {
  [id="page_top"] {
    right: 16px;
  }
}
@media (max-width: 767.98px) {
  [id="page_top"] {
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 767.98px) {
  [id="page_top"]:focus,
  [id="page_top"]:hover {
    bottom: 8px;
  }
}
@media (max-width: 767.98px) {
  [id="page_top"].fm-on {
    bottom: 10px;
  }
  [id="page_top"].bbb-on {
    bottom: 10px;
  }
  [id="page_top"]~[id="page_top"] {
    display: none;
  }
}

@media print {
  [id="page_top"] {
    display: none;
  }
}


/**
 * ===================================
 * MD CLINIC BASE カスタムスタイル
 * ===================================
 */

/* 共通フォント */
body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  color: #334155;
}

/* Material Symbols 共通設定 */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  vertical-align: text-bottom;
}

/**
 * ヘッダー MDカスタム
 */
[id="header"] {
  border-bottom: 4px solid var(--md-primary);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  height: var(--header-height);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
@media (max-width: 959.98px) {
  [id="header"] {
    padding: 0 16px;
  }
}
@media (max-width: 767.98px) {
  [id="header"] {
    padding: 0 12px;
    flex-wrap: nowrap;
    height: var(--header-height);
  }
}

.header_logo {
  position: static;
  transform: none;
  flex-shrink: 0;
}
.header_logo img {
  width: 120px;
  height: auto;
}
@media (max-width: 767.98px) {
  .header_logo {
    position: static;
    transform: none;
	  margin-right: auto
  }
  .header_logo img {
    width: 80px;
  }
}

/* ヘッダーナビ */
.header_link {
  margin-left: auto;
  padding: 0 24px;
}
.header_link ul {
  gap: 12px;
}
.header_link a {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  transition: color 0.2s;
}
.header_link a:hover {
  color: var(--md-primary);
}

/* ヘッダーボタン MD */
[class*="header_btn_"] {
  width: auto;
  margin-left: 8px;
}
@media (max-width: 767.98px) {
  [class*="header_btn_"] {
    width: auto;
    margin: 0 2px;
  }
}

.header_btn_login > * {
  border: 1px solid var(--md-primary);
  background: #fff;
  color: var(--md-primary);
  font-size: 12px;
  font-weight: 700;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.header_btn_login > *:hover,
.header_btn_login > *:focus {
  background: #f8fafc;
  border-color: var(--md-primary);
  color: var(--md-primary);
}

.header_btn_reg > * {
  border: 1px solid var(--md-primary);
  background: var(--md-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.header_btn_reg > *:hover,
.header_btn_reg > *:focus {
  background: var(--md-primary);
  border-color: var(--md-primary);
  color: #fff;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .header_btn_login > *,
  .header_btn_reg > * {
    font-size: 11px;
    height: 32px;
    padding: 0 10px;
  }
}

/* ハンバーガーアイコン MD */
[id="open_icon"] {
  display: block;
  position: relative;
  width: 28px;
  height: 20px;
}
[id="open_icon"] div {
  display: block;
  background-color: #475569;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
}
[id="open_icon"] div:nth-of-type(1) {
  top: 15%;
}
[id="open_icon"] div:nth-of-type(2) {
  top: 50%;
}
[id="open_icon"] div:nth-of-type(3) {
  top: 85%;
}

/* ドロワーメニュー MD */
[id="g_menu"] {
  background: var(--md-primary);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
[id="close"].btn {
  height: 56px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--md-primary);
}
[id="close"].btn::before {
  width: 80px;
  height: 26px;
  opacity: 1;
}
[id="close"] label,
[id="close"] a {
  color: rgba(255,255,255,0.6);
  font-size: 24px;
}
[id="g_menu"] ul {
  border-top: none;
  padding: 8px 0;
  background: #fff;
  flex: 1;
}
[id="g_menu"] li a {
  height: 56px;
  padding: 0 48px 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.2s ease;
}
[id="g_menu"] li a:hover {
  background: #F8FAFC;
}
[id="g_menu"] li a::before {
  color: var(--md-gold);
  right: 16px;
  font-size: 20px;
}
[id="g_menu"] li:first-child a {
  border-top: none;
}
[id="g_menu"] li:last-child a {
  border-bottom: none;
}

/* FAQアコーディオン MD — トップページのmd_faq_itemと同一デザイン */

/* Q: 白カード＋シャドウ＋ボーダー */
.list_accordion__q {
  background: #fff;
  border: 1px solid #D1D5D8;
  border-radius: 5px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
  min-height: auto;
  margin: 10px 0 0;
  padding: 28px;
  padding-left: 68px;
  padding-right: 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
  transition: background-color 0.2s;
}
.list_accordion__q:first-child {
  margin-top: 0;
}
@media (max-width: 767.98px) {
  .list_accordion__q {
    padding: 14px 36px 14px 46px;
    font-size: 13px;
  }
}
.list_accordion__q:hover {
  background: #F8FAFC;
}
.list_accordion__q.is--active {
  background: #EFF6FF;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

/* QアイコンをトップFAQのfaq_item_iconと同じスタイルに */
.list_accordion__q .iconq {
  border: none;
  background: url("/common/images/faq_item_icon.png") no-repeat center / contain;
  color: transparent;
  font-size: 0;
  width: 24px;
  height: 24px;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}
@media (max-width: 767.98px) {
  .list_accordion__q .iconq {
    width: 14px;
    height: 14px;
    left: 16px;
    border: none;
  }
}

/* 開閉アイコンを＋マークからexpand_more風の矢印に変更 */
.list_accordion__q::before {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  font-weight: 400;
  width: auto;
  height: auto;
  background: none;
  color: #94a3b8;
  right: 16px;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.list_accordion__q::after {
  display: none;
}
.list_accordion__q.is--active::before {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}
@media (max-width: 767.98px) {
  .list_accordion__q::before {
    font-size: 18px;
    right: 10px;
  }
}

/* A: Qとくっつけて1つのカードに見せる */
.list_accordion__a {
  background: #EFF6FF;
  border: 1px solid #D1D5D8;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
  padding: 15px 28px 28px 68px;
  margin: 0;
  font-size: 16px;
  line-height: 1.625;
  color: var(--md-primary);
  position: relative;
}
@media (max-width: 767.98px) {
  .list_accordion__a {
    padding: 10px 16px 14px 46px;
    font-size: 13px;
  }
}

/* AアイコンをQ.ラベルと同じスタイルに */
.list_accordion__a .icona {
  border: none;
  background: none;
  width: auto;
  height: auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--md-primary);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  left: 24px;
  top: 15px;
  padding: 0;
}
@media (max-width: 767.98px) {
  .list_accordion__a .icona {
    font-size: 14px;
    left: 16px;
    top: 10px;
    border: none;
    width: auto;
    height: auto;
  }
}

/* FAQタブ MD */
.module_faq__link a {
  color: var(--md-primary);
  font-weight: 700;
}
.module_faq__link a:hover,
.module_faq__link a.is-current {
  border-bottom-color: var(--md-primary);
  color: var(--md-primary);
}

/* パンくず MD */
.bc_nav {
  background: #68718E;
  color: #fff;
  font-size: 12px;
  padding: 10px 0;
}
@media (max-width: 767.98px) {
  .bc_nav {
    padding: 8px 0;
  }
}
.bc_nav li a {
  color: rgba(255,255,255,0.8);
}
.bc_nav li a:hover {
  color: #fff;
}
@media (max-width: 767.98px) {
  .bc_nav li {
    color: rgba(255,255,255,0.8);
  }
  .bc_nav ol,
  .bc_nav ul {
    opacity: 1;
  }
}

/**
 * フッター MDカスタム
 */
[id="footer"] {
  background: var(--md-primary);
}
[id="footer"] .wrap {
  padding: 48px 40px;
  max-width: 1280px;
}
@media (max-width: 959.98px) {
  [id="footer"] .wrap {
    padding: 32px 20px;
  }
}
@media (max-width: 767.98px) {
  [id="footer"] .wrap {
    padding: 24px 16px;
    flex-direction: column;
  }
}

[id="footer_logo"] {
  max-width: 120px;
}
[id="footer_logo"] img {
  filter: brightness(0) invert(1);
}

/* フッターナビカテゴリタイトル */
[id="footer"] .link_box__title {
  font-size: 12px;
  font-weight: 900;
  color: var(--md-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
[id="footer"] .link_box {
  border-left: none;
  padding: 0 24px;
}
@media (max-width: 767.98px) {
  [id="footer"] .link_box {
    padding: 0;
    margin-bottom: 24px;
  }
}
[id="footer"] .link_box li a {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
@media (max-width: 767.98px) {
  [id="footer"] .link_box li a {
    padding: 8px 0 0;
  }
}
[id="footer"] .link_box li a:hover {
  color: #fff;
}
[id="footer"] .link_box li {
  margin-bottom: 12px;
}

[id="footer"] [id="copyright"] {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  padding: 24px 8px;
}

/* ページトップ MD */
[id="page_top"] {
  background: var(--md-primary);
  background-image: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
[id="page_top"]::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2.5px solid #fff;
  border-top: 2.5px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

/* コンテンツ背景 MD */
[id="home"] [id="content"] {
  background-color: #fff;
}


