@charset "UTF-8";

/**
 * ヘッダー
 * NOTE: ロゴとメニューボタンのレイアウトが1024px～768pxで頻繁に変換されるため各セレクタ調整後チェック時注意
**/
[id="header"] {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  background: #fff;
  color: var(--font-c);
  width: 100%;
  height: var(--header-height);
  padding: 0 40px;
  gap: 4px;
  position: relative;
  z-index: 20;
}

@media (max-width: 1300.98px) {
  [id="header"] {
    padding-inline: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024.98px) {

  /* NOTE: 1024px～768pxではロゴとメニューボタンは absoluteに配置されるため、ロゴとメニューボタン分の余白が必要です */
  [id="header"] {
    flex-flow: row wrap;
    padding-inline: calc(var(--site-container-padding) + var(--header-logo-width)) calc(16px + var(--header-menu-btn-width));
  }
}

@media (max-width: 767.98px) {
  [id="header"] {
    flex-flow: row wrap;
    padding-inline: 8px;
  }
}

@media (max-width: 560.98px) {
  [id="header"] {
    flex-flow: row wrap;
    padding-inline: 4px;
    gap: 4px;
  }
}

@media print {

  /* NOTE: 印刷時は余白はなし（紙のマージンに任せる） */
  [id="header"] {
    padding-inline: 0;
  }
}

.header_logo {
  width: var(--header-logo-width);
  margin: 0 auto 0 0;
  align-self: flex-end;
}

@media (min-width: 768px) and (max-width: 1024.98px) {

  /* NOTE: 1024px～768pxではロゴとメニューボタンは absoluteに配置される */
  .header_logo {
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
  }
}

@media (max-width: 767.98px) {
  .header_logo {
    align-self: center;
  }
}

@media (max-width: 374.98px) {
  .header_logo {
    width: calc(100% - 56px * 3 - var(--header-menu-btn-width) - 4px * 4);
  }
}


.header_logo a {
  display: block;
}

.header_logo img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.header_link {
  position: relative;
  padding: 0;
}

@media (max-width: 1024.98px) {

  /* NOTE: 1024px以下から2段レイアウト */
  .header_link {
    width: 100%;
    order: 99;
  }
}

@media print {

  /* NOTE: 印刷時は表示しない */
  .header_link {
    display: none;
  }
}

.header_link a {
  display: block;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.header_link ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.header_link ul li {
  padding: 0;
}




/**
 * ヘッダー 検索窓
 * NOTE: ヘッダー以外でも使用可能
**/
.word_search_wrap {
  width: 100%;
}

@media (max-width: 767.98px) {
  .word_search_wrap {
    width: 100%;
  }
}

.word_search {
  --word-search-height: 40px;
  width: 720px;
}

@media (max-width: 1300.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 720px;
  }
}

@media (max-width: 1200.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 100%;
  }
}

@media (max-width: 1024.98px) {
  .word_search {
    --word-search-height: 40px;
    width: 100%;
  }
}

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

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

.word_search__form {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  box-shadow: var(--site-input-shadow);
  border-radius: var(--site-input-radius);
  gap: 0;
  overflow: hidden;
}

.word_search__word[type="search"],
.word_search__word {
  border-radius: 0;
  border: solid 2px var(--site-bg-c-underlayer);
  background: var(--site-bg-c-underlayer);
  color: var(--font-c);
  font-size: 12px;
  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__word[type="search"],
  .word_search__word {
    font-size: 12px;
  }
}

@media (max-width: 767.98px) {

  .word_search__word[type="search"],
  .word_search__word {
    font-size: 12px;
  }
}

/**
 * ヘッダー 検索窓 本サイトオリジナルスタイル
 * NOTE:
**/
.word_search__field_group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: var(--site-input-radius) 0 0 var(--site-input-radius);
  border: solid 1px var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  width: 208px;
  height: var(--word-search-height);
  margin: 0;
  padding: 0;
  position: relative;
}

.word_search__field_group::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  cursor: pointer;
}

.word_search__field_group::after {
  content: attr(data-btn-text);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 0.5px solid #646464;
  background: #ebebeb;
  color: var(--font-c);
  font-size: 10px;
  font-weight: inherit;
  text-align: center;
  width: 36px;
  height: 20px;
  position: absolute;
  right: 1ex;
  top: 50%;
  z-index: 5;
  transform: translate(0, -50%);
  cursor: pointer;
}

.word_search__field_group+.word_search__field_group {
  border-radius: 0;
  margin-left: -1px;
}

@media (max-width: 1200.98px) {

  /* NOTE: スマホではアイコンのみ */
  .word_search__field_group {
    /*max-width: calc((100% - var(--word-search-height)) / 2);*/
    /* NOTE: 検索項目が2つの時 */
    max-width: calc((100% - var(--word-search-height)) / 3);
    /* NOTE: 検索項目が3つの時 */
    width: 100%;
  }
}

.word_search__ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
  text-align: center;
  min-width: 56px;
  height: 100%;
}

@media (max-width: 767.98px) {
  .word_search__ttl {
    min-width: 40px;
  }
}

.word_search__field_group .word_search__word[type="search"],
.word_search__field_group .word_search__word {
  border-radius: 0;
  border: none;
  background: #fff;
  color: var(--font-c);
  font-size: inherit;
  font-weight: inherit;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 48px 0 8px;
  position: relative;
  z-index: 1;
}

.word_search__field_group .word_search__word[readonly] {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.word_search__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: auto;
  border-radius: 0 var(--site-input-radius) var(--site-input-radius) 0;
  border: solid 2px var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  width: 134px;
  height: var(--word-search-height);
  padding: 0;
}

@media (max-width: 959.98px) {
  .word_search__submit {
    font-size: 12px;
    width: 134px;
  }
}

@media (max-width: 767.98px) {
  .word_search__submit {
    font-size: 12px;
    width: 134px;
  }
}

@media (max-width: 1200.98px) {

  /* NOTE: 中型画面以下ではアイコンのみ */
  .word_search__submit {
    font-size: 12px;
    width: var(--word-search-height);
  }
}

/* icon and text */
.word_search__submit img {
  width: 1ex;
  height: 1ex;
  object-fit: contain;
  margin: 0 1.5ex 0 0;
  transform: translate(0, -56%) scale(2);
  transform-origin: left center;
}

.word_search__submit i {
  display: block;
  width: 1ex;
  height: 1ex;
  margin: 0 1.5ex 0 0;
}

.word_search__submit i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}

.word_search__submit [class*="fa-"] {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.75ex 0 0;
}

.word_search__submit span {
  display: block;
  font-size: inherit;
}

@media (max-width: 1200.98px) {

  /* NOTE: 中型画面以下ではアイコンのみ */
  .word_search__submit img {
    margin: 0;
    transform-origin: center center;
  }

  .word_search__submit i {
    margin: 0;
  }

  .word_search__submit i img {
    margin: 0;
  }

  .word_search__submit span {
    display: none;
  }
}

.word_search__form .modal_drawer {
  width: auto;
  margin: 0;
}

/**
 * ヘッダー ボタン
 * NOTE: header_btn_XXXX の命名ルールが必要。 ボタンとボタンの余白は親のgapで調整
**/
[class*="header_btn_"] {
  width: 72px;
  margin: 0;
  transition: background-color 0.2s ease 0.3s;
}

@media (max-width: 1300.98px) {
  [class*="header_btn_"] {
    width: 72px;
  }
}

@media (max-width: 1200.98px) {
  [class*="header_btn_"] {
    width: 72px;
  }
}

@media (max-width: 1024.98px) {
  [class*="header_btn_"] {
    max-width: 33.33%;
    width: auto;
    flex: 1 1;
  }
}

@media (max-width: 767.98px) {
  [class*="header_btn_"] {
    max-width: none;
    width: 72px;
    flex: initial;
  }
}

@media (max-width: 560.98px) {
  [class*="header_btn_"] {
    max-width: none;
    width: 56px;
    flex: initial;
  }
}

@media print {

  /* NOTE: 印刷時は表示しない */
  [class*="header_btn_"] {
    display: none;
  }
}

/* ヘッダー ボタン 基本 */
[class*="header_btn_"]>* {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  box-shadow: var(--site-btn-shadow);
  border-radius: var(--site-input-radius);
  border: solid 1px var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  font-feature-settings: 'palt';
  line-height: 1.4;
  height: 40px;
}

[class*="header_btn_"]>*:hover,
[class*="header_btn_"]>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

[class*="header_btn_"].item--nowrap>* {
  white-space: nowrap;
}

@media (max-width: 1300.98px) {
  [class*="header_btn_"]>* {
    font-size: 11px;
    height: 40px;
  }

  [class*="header_btn_"] .item--omit {
    display: none;
  }
}

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

/* ヘッダー ボタン icon */
[class*="header_btn_"]>* img {
  width: auto;
  height: 1ex;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 1.5ex 0 0;
  vertical-align: middle;
  transform: translate(0, -8.333%) scale(2);
  transform-origin: left center;
}

[class*="header_btn_"]>*>i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1ex;
  margin: 0 1.5ex 0 0;
}

[class*="header_btn_"]>*>i img {
  width: auto;
  height: 1ex;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0;
}

[class*="header_btn_"]>*>[class*="fa-"]::before {
  transform: translate(0, -8.333%) scale(1.2);
  transform-origin: left center;
}

@media (max-width: 560.98px) {
  [class*="header_btn_"]>* img {
    width: 100%;
    height: 1ex;
    margin: 0 auto 1ex;
    transform: translate(0, -8.333%) scale(2.75);
    transform-origin: center center;
  }

  [class*="header_btn_"]>*>i {
    width: 100%;
    height: 1ex;
    margin: 0 auto 1ex;
  }

  [class*="header_btn_"]>*>[class*="fa-"]::before {
    transform: translate(0, -8.333%) scale(1.75);
    transform-origin: center center;
  }

  [class*="header_btn_"]>*>i img {
    margin: 0;
  }
}

/* ヘッダー ボタン 色 */
/* 色 検索ボタン */
.header_btn_search>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: var(--site-c-main-hue);
}

.header_btn_search>*:hover,
.header_btn_search>*:focus {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: var(--site-c-main-hue);
}

/* 色 新規登録 */
.header_btn_reg>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: #fff;
}

.header_btn_reg>*:hover,
.header_btn_reg>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

/* 色 ログイン */
.header_btn_login>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: #fff;
}

.header_btn_login>*:hover,
.header_btn_login>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

/* 色 現在地から探す */
.header_btn_n>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: #fff;
}

.header_btn_n>*:hover,
.header_btn_n>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

/* 色 切り替えアイコン */
.header_btn_map>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: #fff;
}

.header_btn_map>*:hover,
.header_btn_map>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

/* 色 お気に入り */
.header_btn_fav>* {
  border-color: var(--site-c-main-light);
  background: var(--site-c-main-light);
  color: #fff;
}

.header_btn_fav>*:hover,
.header_btn_fav>*:focus {
  border-color: var(--site-c-main-hue);
  background: var(--site-c-main-hue);
  color: #fff;
}

/**
 * ドロワーメニュー
**/
.sp_navi {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: var(--header-menu-btn-width);
  height: var(--header-menu-btn-width);
  position: relative;
}

@media (min-width: 1301px) {
  .sp_navi {
    margin-left: 12px;
  }
}

@media (max-width: 1300.98px) {
  .sp_navi {
    margin: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024.98px) {

  /* NOTE: 1024px～768pxではロゴとメニューボタンは absoluteに配置される */
  .sp_navi {
    height: auto;
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    left: auto;
    z-index: 10;
  }
}

@media (max-width: 767.98px) {
  .sp_navi {}
}

@media (max-width: 560.98px) {
  .sp_navi {}
}

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

/**
 * ドロワーメニュー オーバーレイ
**/
[id="close_overlay"] {
  display: block;
  background: rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  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: var(--site-c-main);
  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%;
}

@media print {

  /* NOTE: 印刷時は表示しない */
  [id="open"].btn {
    display: none;
  }
}

/**
 * ドロワーメニュー 本体
**/
[id="g_menu"] {
  /*background: var(--site-c-main);*/
  background: var(--site-c-main-hue);
  color: #fff;
  text-align: left;
  max-width: 400px;
  width: 90svw;
  height: 100%;
  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 8px 8px 20px;
}

[id="close"].btn::before {
  content: '';
  display: block;
  width: 120px;
  height: 32px;
  background-image: url("../images/logo_type.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% auto;
}

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

/**
 * ドロワーメニュー リスト
**/
[id="g_menu"] ul {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 28px;
}

[id="g_menu"] li {
  font-size: 12px;
  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 rgba(255, 255, 255, 0.2);
  height: 48px;
  padding: 0 20px;
}

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

[id="g_menu"] li i {
  width: 1em;
  height: 1em;
  vertical-align: baseline;
}

[id="g_menu"] li i>img {
  width: 1em;
  height: 1em;
  object-fit: contain;
  vertical-align: baseline;
}

[id="g_menu"] li *+span {
  margin-left: 1ex;
}

.g_menu__copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.2);*/
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
  font-size: 10px;
  text-align: center;
  height: 48px;
  padding: 0 32px;
}

*+.g_menu__copyright {
  margin-top: 4px;
}


/**
 * パンくず
**/
.bc_nav {
  background: var(--bc-bg-c);
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  padding: 6px 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: 6px 0;
    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: hidden;
    white-space: nowrap;
    opacity: 0.33;
  }

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

.bc_nav li+li::before {
  content: '\f3d3';
  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;
  color: #ABAAAC;
  margin-left: 8px;
  margin-right: 8px;
}

@media (max-width: 767.98px) {
  .bc_nav li {
    color: var(--font-c);
    display: inline;
    line-height: 14px;
  }

  .bc_nav li+li::before {
    content: '\f3d3';
  }
}

.bc_nav li a {
  color: var(--font-c-link);
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
}

@media (max-width: 767.98px) {
  .bc_nav li a {
    color: inherit;
  }
}

[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: 72px 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 {
  /*color: var(--font-c);*/
  color: var(--site-c-main);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 8px;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
}
@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: var(--site-bg-c-underlayer);
  background: #fff;
}

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

header+[id="content"],
.bc_nav+[id="content"] {
  padding-top: 32px;
}
@media (max-width: 959.98px) {
  header+[id="content"],
  .bc_nav+[id="content"] {
    padding-top: 0;
  }
}
@media (max-width: 767.98px) {
  header+[id="content"],
  .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"] {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: stretch;
  background: var(--site-c-main);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  width: 100%;
  height: var(--footer-height);
  overflow: hidden;
}

@media (max-width: 767.98px) {
  [id="footer"] {
    height: auto;
  }

  [id="home"] [id="footer"] {
    height: var(--footer-height);
  }
}

[id="footer"] .wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 8px 16px;
  gap: 12px;
}

@media (max-width: 1200.98px) {
  [id="footer"] .wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 959.98px) {
  [id="footer"] .wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  [id="footer"] .wrap {
    flex-flow: column nowrap;
    height: auto;
    padding: 8px 16px 8px;
    gap: 4px;
  }
}

[id="footer_logo"] {
  text-align: center;
  max-width: 170px;
  width: 100%;
  margin: 0;
}

@media (max-width: 959.98px) {
  [id="footer_logo"] {
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  [id="footer_logo"] {
    max-width: 96px;
  }
}

[id="footer_logo"] a {
  display: block;
}

[id="footer_logo"] img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

[id="footer_navi"] {
  margin: 0;
}

@media (max-width: 959.98px) {
  [id="footer_navi"] {}
}

@media (max-width: 767.98px) {
  [id="footer_navi"] {
    order: 0;
  }
}

[id="footer"] .box_links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /*border-left: solid 1px var(--footer-border);*/
  padding: 0;
}

@media (max-width: 959.98px) {
  [id="footer"] .box_links {
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  [id="footer"] .box_links {
    flex-flow: column nowrap;
    font-size: 10px;
    gap: 4px;
  }

  [id="footer"] *+.box_links {
    margin-top: 4px;
  }
}

[id="footer"] .box_links li {
  font-feature-settings: 'palt';
  margin: 0;
}

@media (max-width: 959.98px) {
  [id="footer"] .box_links li {
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  [id="footer"] .box_links li {
    margin: 0;
  }
}

[id="footer"] .box_links li a {
  display: block;
  color: inherit;
  font-feature-settings: 'palt';
}

@media (max-width: 767.98px) {
  [id="footer"] .box_links li a {
    padding: 0;
  }
}

.footer_links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 0 auto;
  gap: 12px;
}

@media (max-width: 767.98px) {
  .footer_links {
    flex-flow: row wrap;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    gap: 6px 12px;
  }
}

.footer_links>li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-feature-settings: 'palt';
}

.footer_links a {
  display: inherit;
  justify-content: inherit;
  align-items: inherit;
  font-feature-settings: 'palt';
}

.footer_links i {
  margin: 0 1ex 0 0;
}

.footer_links i>img {
  border-radius: 50%;
  width: auto;
  height: 1.25em;
  aspect-ratio: 1 / 1;
}

/* NOTE: 不使用 */
/*
[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: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  padding: 4px 16px;
  border-top: solid 1px var(--footer-border);
}

[id="page_top"] {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: url("../images/pagetop.svg") center center no-repeat;
  background-size: contain;
  z-index: 900;
}

@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: 80px;
  }

  [id="page_top"].bbb-on {
    bottom: 64px;
  }

  [id="page_top"]~[id="page_top"] {
    display: none;
  }
}
