@charset "utf-8";

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

html {
  container-type: inline-size;
}

body {
  color: rgb(var(--color-basic));
  font: 14px / 1.6 var(--font-sans);
  font-style: normal;
  font-weight: 400;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  html, body {
    scrollbar-width: thin;
  }

  body {
    letter-spacing: 1px;
    font-size: 16px;
  }

}

/**
 * リンク
 */

a:not([href]) {
  color: inherit;
}

:where(a[href]) {
  color: rgb(var(--color-link));
}

:where(a[href]:hover) {
  text-decoration: none;
}

@media screen and (min-width:768px) {

  [href^="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px solid;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  transition:
    color 0.3s ease-in-out 0.0s,
    border-color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: #fff;
  border-color: transparent;
  background-color: transparent;
  backdrop-filter: blur(0);
}

body.scroll-active
#header {
  color: rgb(var(--color-basic));
  border-color: rgba(var(--accentcolor-1), 0.5);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

#header a {
  color: inherit;
}

#header div.body {
  max-width: 1620px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:1141px) {

  #header div.body {
    padding-bottom: 45px;
  }

}

@media screen and (min-width:1401px) {

  #header div.body {
    padding-bottom: unset;
  }

}

/**
 * ロゴ
 */

#header .logo {
  width: 220px;
  flex-shrink: 0;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(1);
}

body.scroll-active
#header .logo {
  filter: none;
}

@media screen and (min-width:768px) {

  #header .logo {
    width: unset;
  }

}

/**
 * テキスト
 */

#header div.text {
  width: 100%;
  line-height: 1.4;
  font-size: 0.625em;
  order: -1;
}

@media screen and (min-width:768px) {

  #header div.text {
    margin-bottom: 5px;
    font-size: 0.75em;
  }

}

/**
 * コンテンツ
 */

#header div.header {
  max-width: calc(100% - 340px - 260px);
  padding: 0 1.5%;
  flex-grow: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2%;
  display: none;
}

@media screen and (min-width:1141px) {

  #header div.header {
    display: flex;
  }

}

/**
 * ヘッダーナビ
 */

#header div.header div.nav {
  margin-bottom: 3px;
  font-family: var(--font-maru-sans);
  font-size: 0.875em;
  flex-grow: 1;
}

#header div.header div.nav ul.list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 1em;
}

#header div.header div.nav ul.list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#header div.header div.nav ul.list li::before {
  content: '';
  width: 0.375em;
  height: 0.75em;
  background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(1);
}

body.scroll-active
#header div.header div.nav ul.list li::before {
  filter: none;
}

#header div.header div.nav ul.list a {
  padding-left: 0.375em;
  text-decoration: none;
  display: inline-block;
}

/**
 * TEL
 */

#header div.header div.tel {
  line-height: 1.2;
  font-size: 0.75em;
}

#header div.header div.tel a {
  margin-top: 5px;
  letter-spacing: 2px;
  font-family: var(--font-number);
  font-size: 2em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25em;
}

#header div.header div.tel a::before {
	content: '';
	width: 0.875em;
	height: 0.875em;
	background: url("../_image/_common/icon-tel-1.png") 0px 0px / 100% 100% no-repeat;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(1);
}

body.scroll-active
#header div.header div.tel a::before {
  filter: none;
}

@media screen and (min-width:1401px) {

  #header div.header div.tel a {
    justify-content: flex-start;
  }

  #header div.header div.tel br {
    display: inline;
  }

}

/**
 * ボタン
 */

#header div.button {
  width: 260px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0 10px;
  display: none;
}

#header div.button a {
  text-decoration: none;
  display: block;
}

@media screen and (min-width:1141px) {

  #header div.button {
    display: flex;
  }

}

/** ***************************************************************************
 * グローバルナビ
 * ************************************************************************* */

#global-nav a {
  color: inherit;
  text-decoration: none;
}

#global-nav {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
  bottom: 5px;
}

#global-nav div.contents {
  display: contents;
}

@media screen and (min-width:1401px) {

  #global-nav {
    position: static;
  }

}

/**
 * リスト
 */

#global-nav ul.list {
  font-family: var(--font-maru-sans);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#global-nav ul.list li.inactive a {
}

/**
 * 第1階層
 */

#global-nav ul.list > li {
  position: relative;
  z-index: 0;
}

#global-nav ul.list > li > a {
  padding: 0.25em 0.875em 0.375em;
  border-bottom: 1px solid;
  display: block;
  transition: border-color 0.3s ease-in-out 0.0s;
  border-color: transparent;
}

#global-nav ul.list > li > a:hover {
  border-color: #fff;
}

body.scroll-active
#global-nav ul.list > li > a:hover {
  border-color: rgb(var(--color-basic));
}

#global-nav ul.list > li.current > a {
  border-color: #fff;
}

body.scroll-active
#global-nav ul.list > li.current > a {
  border-color: rgb(var(--color-basic));
}

/**
 * 第2階層～
 */

#global-nav ul.sub {
  max-width: none;
  min-width: 100%;
  padding-top: 10px;
  color: rgb(var(--color-basic));
  white-space: nowrap;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
  transform: translateX(-50%);
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 100%;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

#global-nav ul.list > li:last-child ul.sub {
  transform: translateX(-70%);
}

#global-nav li:hover > ul.sub {
  visibility: visible;
  opacity: 1;
}

#global-nav ul.sub li {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 0;
}

#global-nav ul.sub li:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#global-nav ul.sub li:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#global-nav ul.sub li ~ li {
  margin-top: -1px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

#global-nav ul.sub li a {
  padding: 0.5em 1em;
  display: block;
  transition: color 0.3s ease-in-out 0.0s;
  color: inherit;
}

#global-nav ul.sub li.current > a {
  color: rgb(var(--accentcolor-1));
}

#global-nav ul.sub li > a:hover {
  color: rgb(var(--accentcolor-1));
}

@media screen and (min-width:1401px) {

  #global-nav ul.list > li:last-child ul.sub {
    transform: translateX(-50%);
  }

}

/**
 * 第3階層
 */

#global-nav ul.sub ul.sub {
  padding-top: 0;
  padding-left: 5px;
  transform: none;
  left: 100%;
  top: 0;
}

/** ***************************************************************************
 * メニュー
 * ************************************************************************* */

#menu {
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  overflow: hidden;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.menu-active
#menu {
  pointer-events: unset;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
}

#menu::after {
  content: '';
  max-width: none;
  border-radius: 50%;
  background-color: #fff;
  backdrop-filter: blur(4px);
  position: absolute;
  z-index: -1;
  top: -50vh;
  right: -50vh;
  transition:
    width 0.0s ease-in-out 0.5s,
    height 0.0s ease-in-out 0.5s,
    background-color 0.0s ease-in-out 0.5s,
    visibility 0.0s ease-in-out 0.5s,
    opacity 0.0s ease-in-out 0.5s;
  width: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
}

body.menu-active
#menu::after {
  transition:
    width 1.0s ease-in-out 0.0s,
    height 1.0s ease-in-out 0.0s,
    background-color 0.7s ease-in-out 0.3s,
    visibility 0.5s ease-in-out 0.0s,
    opacity 0.5s ease-in-out 0.0s;
  width: 300vw;
  height: 200vh;
  background-color: rgba(var(--accentcolor-1), 0.8);
  visibility: visible;
  opacity: 1;
}

#menu div.contents {
  height: 100%;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  transition:
    visibility 0.5s ease-in-out 0.7s,
    opacity 0.5s ease-in-out 0.7s,
    right 0.5s ease-in-out 0.7s;
  visibility: hidden;
  opacity: 0;
  right: 10vw;
}

body.menu-active
#menu div.contents {
  visibility: visible;
  opacity: 1;
  right: 0;
}

#menu div.contents > * {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:768px) {

  #menu div.contents {
    padding: 30px 20px 50px;
  }

}

@media screen and (min-width:1141px) {

  #menu {
    display: none;
  }

}

/**
 * ヘッダー
 */

#menu .header {
  margin-bottom: 10px;
}

/* ロゴ */

#menu .header div.logo {
  width: 240px;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(0) invert(1);
}

/* TEL */

#menu .header div.tel {
  margin-top: 5px;
	letter-spacing: 2px;
	font-family: var(--font-number);
	font-size: 2em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375em;
}

#menu .header div.tel::before {
	content: '';
	width: 1em;
	height: 1em;
	background: url("../_image/_common/icon-tel-1.png") 0px 0px / 100% 100% no-repeat;
  filter: brightness(0) invert(1);
}

#menu .header div.tel a {
  color: #fff;
  text-decoration: none;
}

/**
 * リスト
 */

#menu div.menu {
  padding: 5px 20px;
  color: rgb(var(--color-basic));
  font-weight: 500;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 1.0);
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

#menu ul.list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#menu ul.list a {
  color: inherit;
  text-decoration: none;
}

#menu ul.list li.current > a {
  color: rgb(var(--accentcolor-1));
}

/* 第1階層 */

#menu ul.list > li {
  padding: 0.875em 0;
  font-size: 1.125em;
}

#menu ul.list > li ~ li {
  border-top: 1px solid rgba(var(--accentcolor-1), 0.5);
}

#menu ul.list > li > a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
}

#menu ul.list > li > a::before {
	content: '';
	width: 0.375em;
	height: 0.625em;
	background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
}

/* 第2階層 */

#menu ul.sub {
  width: 100%;
  margin-top: 0.75em;
  margin-bottom: 0.5em;
  padding-left: 1em;
  font-size: 0.875em;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25em 0.375em;
}

#menu ul.sub li::after {
  content: '／';
}

#menu ul.sub li:last-child::after {
  content: none;
}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
}

body.scroll-active
#header div.drawer {
  background-color: rgb(var(--accentcolor-1));
}

body.menu-active
#header div.drawer {
  background-color: transparent;
}

@media screen and (min-width:1141px) {

  #header div.drawer {
    display: none;
  }

}

/**
 * ライン
 */

#header div.drawer div.line {
  width: 70%;
  height: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 0;
}

#header div.drawer i {
  width: 100%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
}

/* 上 */

body.menu-active
#header div.drawer i:nth-child(1) {
  transform: rotate(315deg) translate(-5px, 6px);
}

/* 中 */

body.menu-active
#header div.drawer i:nth-child(2) {
  transform: translateX(50vw);
}

/* 下 */

body.menu-active
#header div.drawer i:nth-child(3) {
  transform: rotate(-315deg) translate(-5px, -6px);
}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

/** ***************************************************************************
 * 扉ページ
 */

body.layout-archive
#visual {
  height: 250px;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

body.layout-archive
#visual div.body {
  max-width: 1240px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  body.layout-archive
  #visual {
    height: 450px;
  }

}

/**
 * タイトル
 */

body.layout-archive
#visual .title {
  width: 85%;
  max-width: 12em;
  padding: 20px 10px 0 0;
  color: rgb(var(--accentcolor-1));
  letter-spacing: 2px;
  line-height: 1.4;
  font-family: var(--font-maru-sans);
  font-size: 1.75em;
  font-weight: 700;
  position: relative;
  z-index: 0
}

body.layout-archive
#visual .title::before {
  content: attr(data-en);
  margin-bottom: 3px;
  color: rgb(var(--color-basic));
  letter-spacing: 1px;
  line-height: 1;
  font-family: var(--font-alphabet);
  font-size: 0.5em;
  font-weight: 500;
  display: block
}

body.layout-archive
#visual .title::after {
  content: '';
  width: 100vw;
  max-width: none;
  height: 100%;
  border-top-right-radius: 12px;
  background-color: #fff;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
}

@media screen and (min-width:768px) {

  body.layout-archive
  #visual .title {
    font-size: 2.5em;
  }

}

/** ***************************************************************************
 * 固定ページ
 */

body.layout-single
#visual {
  height: 250px;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

body.layout-single
#visual div.body {
  max-width: 1240px;
  height: 100%;
  padding-bottom: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  body.layout-single
  #visual {
    height: 450px;
  }

  body.layout-single
  #visual div.body {
    padding-bottom: 140px;
  }

}

/**
 * タイトル
 */

body.layout-single
#visual .title {
  color: #fff;
  line-height: 1.4;
  font-family: var(--font-maru-sans);
  font-size: 1.5em;
  font-weight: 700;
}

@media screen and (min-width:768px) {

  body.layout-single
  #visual .title {
    letter-spacing: 2px;
    font-size: 2.125em;
  }

}

/** ***************************************************************************
 * パンくずリスト
 * ************************************************************************* */

#breadcrumb {
  padding: 5px 0;
  font-size: 0.875em;
}

body.layout-single
#breadcrumb {
  padding: 10px 0;
}

#breadcrumb div.body {
  max-width: 1240px;
}

#breadcrumb ol.list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#breadcrumb ol.list li::after {
  content: '>';
  margin-top: -2px;
  margin-left: 0.25em;
  margin-right: 0.5em;
  vertical-align: middle;
  display: inline-block;
}

#breadcrumb ol.list li:last-child::after {
  content: none;
}

#breadcrumb ol.list li a {
  text-decoration: none;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #breadcrumb {
    padding: 20px 0;
    font-size: 0.75em;
  }

}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  text-align: justify;
  text-justify: inter-character;
  overflow: hidden;
}

body.layout-lower
#main {
  padding-top: 30px;
  padding-bottom: 60px;
}

body.layout-lower
#main div.body {
  max-width: 1100px;
}

@media screen and (min-width:768px) {

  body.layout-lower
  #main {
    padding-top: 60px;
    padding-bottom: 120px;
  }

}

/**
 * セクショニング
 */

body.layout-lower
:where(#main .section ~ .section) {
  margin-top: 50px;
}

body.layout-lower
:where(#main .column ~ .column) {
  margin-top: 30px;
}

body.layout-lower
:where(#main .block ~ .block) {
  margin-top: 20px;
}

@media screen and (min-width:768px) {

  body.layout-lower
  :where(#main .section ~ .section) {
    margin-top: 100px;
  }

  body.layout-lower
  :where(#main .column ~ .column) {
    margin-top: 50px;
  }

  body.layout-lower
  :where(#main .block ~ .block) {
    margin-top: 30px;
  }

}

/**
 * 準備中
 */

#main div.system-message {
  padding: 5em 0 10em;
  text-align: center;
}

/** ***************************************************************************
 * お問い合わせ
 * ************************************************************************* */

#common-contact {
  padding: 10% 0;
  background: url("../_image/_common/common-contact.jpg") center center / cover no-repeat;
}

#common-contact div.body {
  max-width: 1240px;
}

#common-contact div.frame {
  padding: 8% 5%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 1.0);
  background-color: rgba(255, 255, 255, 1.0);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

@media screen and (min-width:768px) {

  #common-contact div.frame {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 50px;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px 5%;
  }

}

/**
 * タイトル
 */

#common-contact .title {
  letter-spacing: 1px;
  font-family: var(--font-maru-sans);
  font-size: 1.125em;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#common-contact .title::before {
  content: 'Contact';
  margin-bottom: 2px;
  color: rgb(var(--accentcolor-1));
  line-height: 1;
  font-family: var(--font-alphabet);
  font-size: 2.25em;
  font-weight: 400;
}

@media screen and (min-width:768px) {

  #common-contact .title {
    font-size: 1.25em;
    align-items: flex-start;
    flex-shrink: 0;
  }

}

/**
 * 内容 / お問い合わせ
 */

#common-contact div.contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

@media screen and (min-width:768px) {

  #common-contact div.contents {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px 5%;
  }

}

/**
 * 内容
 */

#common-contact div.content dl.time {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
}

#common-contact div.content dl.time div.item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#common-contact div.content dl.time div.item:not(:first-child) {
  margin-top: 0.5em;
}

#common-contact div.content dl.time dd {
  color: #f44d74;
}

@media screen and (min-width:768px) {

  #common-contact div.content {
    width: calc(100% - 320px - 5%);
    min-width: 400px;
    flex-grow: 1;
  }

  #common-contact div.content dl.time {
    margin: unset;
    font-size: 1.125em;
  }

}

/**
 * お問い合わせ
 */

#common-contact div.contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
}

@media screen and (min-width:768px) {

  #common-contact div.contact {
    width: 320px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 0;
    gap: 30px;
  }

}

/* TEL */

#common-contact div.contact div.tel {
  font-size: 1.125em;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

#common-contact div.contact div.tel a {
  color: rgb(var(--accentcolor-1));
  letter-spacing: 2px;
  line-height: 1;
  font-family: var(--font-number);
  font-size: 2em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
}

#common-contact div.contact div.tel a::before {
  content: '';
  width: 1.125em;
  height: 1.125em;
  background: url("../_image/_common/icon-tel-1.png") 0 0 / 100% 100% no-repeat;
}

@media screen and (min-width:768px) {

  #common-contact div.contact div.tel {
    align-items: flex-start;
  }

  #common-contact div.contact div.tel a {
    font-size: 2.25em;
  }

}

/* ボタン */

#common-contact div.button a {
  padding: 1.25em 2.5em;
  line-height: 1.4;
  letter-spacing: 1px;
  font-family: var(--font-maru-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid rgb(var(--accentcolor-1));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  transition:
    color 0.3s ease-in-out 0.0s,
    background-color 0.3s ease-in-out 0.0s;
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

#common-contact div.button a:hover {
  color: rgb(var(--accentcolor-1));
  background-color: rgba(255, 255, 255, 0.5);
}

#common-contact div.button a::before {
  content: '';
  width: 1.75em;
  height: 1.125em;
  background: url("../_image/_common/icon-contact-1.png") 0 0 / 100% 100% no-repeat;
  transition: filter 0.3s ease-in-out 0.0s;
  filter: brightness(0) invert(1);
}

#common-contact div.button a:hover::before {
  filter: none;
}

/** ***************************************************************************
 * 関連施設
 * ************************************************************************* */

#common-relation {
  padding: 10% 0;
  color: #fff;
  background-color: rgb(var(--accentcolor-1));
}

#common-relation a {
  color: inherit;
}

#common-relation div.body {
  max-width: 1240px;
}

@media screen and (min-width:768px) {

  #common-relation {
    padding: 50px 0;
  }

  #common-relation div.contents {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 5%;
  }

}

/**
 * タイトル
 */

#common-relation .title {
  margin-bottom: 25px;
  letter-spacing: 1px;
  font-family: var(--font-maru-sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#common-relation .title::before {
  content: 'Related Facilities';
  margin-bottom: 2px;
  line-height: 1;
  font-family: var(--font-alphabet);
  font-size: 2em;
}

@media screen and (min-width:768px) {

  #common-relation .title {
    font-size: 1.25em;
    align-items: flex-start;
    flex-shrink: 0;
  }

}

/**
 * 内容
 */

#common-relation div.content ul.relation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#common-relation div.content ul.relation li a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media screen and (min-width:768px) {

  #common-relation div.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
  }

  #common-relation div.content ul.relation {
    width: 100%;
    padding: unset;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
  }

}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

@media screen and (min-width:768px) {

  #footer div.body {
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

}

/**
 * ロゴ / アドレス
 */

#footer div.footer {
  padding: 30px 0;
}

@media screen and (min-width:768px) {

  #footer div.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 3%;
  }

}

/* ロゴ */

#footer div.footer .logo {
  padding-left: 10%;
  padding-right: 10%;
  text-align: center;
}

@media screen and (min-width:768px) {

  #footer div.footer .logo {
    padding: unset;
    flex-shrink: 0;
  }

}

/* アドレス */

#footer div.footer address.content {
  width: fit-content;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

#footer div.footer address.content a[href^="tel:"] {
  letter-spacing: 2px;
  font-family: var(--font-number);
  font-size: 1.5em;
  font-weight: 500;
}

@media screen and (min-width:768px) {

  #footer div.footer address.content {
    width: unset;
    margin: unset;
  }

}

/* ボタン */

#footer div.footer div.button {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media screen and (min-width:768px) {

  #footer div.footer div.button {
    margin-top: unset;
  }

}

/**
 * ナビゲーション
 */

#footer-nav {
  display: none;
}

@media screen and (min-width:768px) and (max-width:1240px) {

  #footer-nav {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2em;
    order: -1;
    position: relative;
  }

  #footer-nav::after {
    content: '';
    max-width: none;
    width: var(--innerWidth);
    height: 100%;
    background-color: #e8f7f0;
    position: absolute;
    z-index: -1;
    top: 0;
    left: var(--innerCenter);
  }

  #footer-nav a {
    text-decoration: none;
    transition: color 0.3s ease-in-out 0.0s;
    color: inherit;
  }

  #footer-nav a:hover {
    color: rgb(var(--accentcolor-1));
  }

  #footer-nav .current > a {
    color: rgb(var(--accentcolor-1));
  }

  #footer-nav a[target="_blank"] {
    margin-right: 1em;
    position: relative;
  }

  #footer-nav a[target="_blank"]::after {
    content: '';
    width: 0.875em;
    height: 0.875em;
    background: url("../_image/_common/icon-blank-1.png") 0 0 / 100% 100% no-repeat;
    position: absolute;
    z-index: 1;
    top: 0.35em;
    left: calc(100% + 0.375em);
  }

  #footer-nav div.item ~ div.item {
    padding-top: 2em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  /**
   * 第1階層
   */

  #footer-nav ul.list {
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75em 2em;
  }

  #footer-nav ul.list > li {
    padding-left: 0.875em;
    position: relative;
  }

  #footer-nav ul.list > li::before {
    content: '';
    width: 0.375em;
    height: 0.625em;
    background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
    position: absolute;
    z-index: 1;
    top: 0.5em;
    left: 0;
  }

  #footer-nav ul.list > li:has(ul) {
    width: 100%;
  }

  #footer-nav ul.list > li:has(ul) ~ li {
    width: 100%;
    margin-top: 1.25em;
    padding-top: 2em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  #footer-nav ul.list > li:has(ul) ~ li::before {
    top: 2.5em;
  }

  /**
   * 第2階層
   */

  #footer-nav ul.sub {
    margin-top: 0.75em;
    margin-left: 1.25em;
    font-size: 0.875em;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5em 1em;
  }

  #footer-nav ul.sub > li::after {
    content: '／';
    margin-left: 0.5em;
  }

  #footer-nav ul.sub > li:last-child::after {
    content: none;
  }

}

@media screen and (min-width:1241px) {

  #footer-nav {
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 50px 5%;
    order: -1;
    position: relative;
  }

  #footer-nav::after {
    content: '';
    max-width: none;
    width: var(--innerWidth);
    height: 100%;
    background-color: #e8f7f0;
    position: absolute;
    z-index: -1;
    top: 0;
    left: var(--innerCenter);
  }

  #footer-nav a {
    text-decoration: none;
    transition: color 0.3s ease-in-out 0.0s;
    color: inherit;
  }

  #footer-nav a:hover {
    color: rgb(var(--accentcolor-1));
  }

  #footer-nav .current > a {
    color: rgb(var(--accentcolor-1));
  }

  #footer-nav a[target="_blank"] {
    margin-right: 1em;
    position: relative;
  }

  #footer-nav a[target="_blank"]::after {
    content: '';
    width: 0.875em;
    height: 0.875em;
    background: url("../_image/_common/icon-blank-1.png") 0 0 / 100% 100% no-repeat;
    position: absolute;
    z-index: 1;
    top: 0.375em;
    left: calc(100% + 0.375em);
  }

  #footer-nav div.item {
    max-width: 14em;
  }

  #footer-nav div.item.large {
    max-width: 100%;
    width: 100%;
  }

  /**
   * 第1階層
   */

  #footer-nav ul.list {
    line-height: 1.4;
  }

  #footer-nav ul.list > li {
    padding-left: 0.875em;
    position: relative;
  }

  #footer-nav ul.list > li::before {
    content: '';
    width: 0.375em;
    height: 0.625em;
    background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
    position: absolute;
    z-index: 1;
    top: 0.5em;
    left: 0;
  }

  #footer-nav ul.list > li ~ li {
    margin-top: 1.75em;
  }

  /* 単独リスト */

  #footer-nav div.item.large ul.list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5em 4em;
  }

  #footer-nav div.item.large ul.list > li ~ li {
    margin-top: unset;
  }

  /**
   * 第2階層
   */

  #footer-nav ul.sub {
    width: calc(100% - 0.5em);
    margin-top: 0.5em;
    margin-left: 0.5em;
    padding-left: 0.875em;
    font-size: 0.875em;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }

  #footer-nav ul.sub > li {
    margin-top: 0.5em;
  }

}

/**
 * 下部固定ナビ
 */

#fixed-nav {
  width: 100%;
  position: fixed;
  z-index: 2;
  left: 0;
  bottom: 0;
}

#fixed-nav ul.list {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#fixed-nav ul.list li {
  text-align: center;
  background-color: #e8f7f0;
  flex-grow: 1;
}

@media screen and (min-width:768px) {

  #fixed-nav {
    display: none;
  }

}

/**
 * コピーライト
 */

#footer div.copyright {
  padding: 20px 0;
  letter-spacing: 1px;
  line-height: 1;
  font-size: 0.75em;
  text-align: center;
}
