@charset "UTF-8";
/*---------------------------
    Smartphone Body
---------------------------*/
html {
  font-size: 62.5%;
}

body {
  font-size: 1.4rem;
}

.sp-none {
  display: none;
}

img {
  border-style: none;
  max-width: 100%;
}

/*---------------------------
    Header
---------------------------*/
body > header {
  position: fixed;
  top: 0;
  margin: 0;
  padding: 0;
  height: 80px;
  width: 100%;
  background-color: #FFFFFF;
  background-size: cover;
  z-index: 1002;
}
body > header > div i.fa {
  font-size: 2.6rem;
  line-height: 50px;
}
body > header > div > a {
  display: block;
}
body > header > div.logo {
  float: left;
  margin: 0;
  padding: 5px 10px;
  height: 50px;
}
body > header > div.logo > a {
  padding: 0;
  color: #25504D;
  font-size: 2rem;
  font-weight: bold;
}
body > header > div.logo > a > img {
  height: 40px;
}
body > header > div.menu {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 50px;
  text-align: center;
}
body > header > div.menu > a > i.fa.fa-close {
  display: none;
}
body > header > div.login-info {
  position: absolute;
  bottom: 0;
  padding: 0 5px;
  width: 100%;
  height: 28px;
  line-height: 28px;
  font-size: 1.4rem;
  text-align: right;
  color: #4a494d;
  background-color: #f4f1ed;
}
body > header > div.login-info > span.mail {
  margin-right: 10px;
}
body > header > div.login-info > span.mail > a {
  color: #4a494d;
}
body > header > div.login-info > span.mail > a > i.fa {
  font-size: 2rem;
  line-height: 25px;
}
body > header > nav.pc-menu {
  display: none;
}

/*---------------------------
    Wrapper
---------------------------*/
body > div#wrapper {
  position: relative;
  margin: 80px 0 0 0;
  padding: 0;
  min-width: 300px;
  background-color: #FFFFFF;
}
body > div#wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/*---------------------------
    メインコンテンツ
---------------------------*/
#wrapper > div#content {
  position: relative;
  min-width: 288px;
  min-height: 500px;
}
#wrapper > div#content:after {
  content: "";
  display: table;
  clear: both;
}

#wrapper > div#content > div.menu-area {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  overflow: hidden;
  transition-duration: 0.5s;
  z-index: 1001;
}
#wrapper > div#content > div.menu-area + div.cover-area {
  position: fixed;
  display: none;
  top: 80px;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 999;
  background-color: #000000;
  opacity: 0.5;
}
#wrapper > div#content > div.menu-area.menu-none {
  top: -1080px;
}
#wrapper > div#content > div.menu-area.menu-open {
  top: 80px;
}
#wrapper > div#content > div.menu-area.menu-open + div.cover-area {
  display: block;
}
/* 余白・リスト初期化 */
#wrapper > div#content > div.menu-area > ul {
  margin: 0;
  padding: 12px;
  list-style: none;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  background-color: #ffffff;
}
/* セクション見出し（メニュー／その他） */
#wrapper > div#content > div.menu-area > ul > li.title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;                 /* ダークグレー。画像に近いトーン */
  background: transparent;     /* 見出しは背景なし */
  border: none;                /* 罫線なし */
  height: auto;
  line-height: 1.6;
  padding: 0;
  margin: 10px 0 0 0;
}
/* メニュー項目のカード化 */
#wrapper > div#content > div.menu-area > ul > li {
  position: relative;
  padding: 0;                  /* paddingはa側で管理 */
  height: auto;                /* 固定高さを解除して可変に */
  line-height: normal;
  font-size: 1.6rem;
  background-color: #e9eeed;
  border-bottom: none;         /* 旧スタイルの下線はオフ */
  border-radius: 6px;         /* 角丸 */
  margin: 6px 0;               /* アイテム間の間隔 */
  overflow: hidden;            /* 角丸に合わせて矢印やフォーカス枠をクリップ */
}
/* 見出し以外の <a> を全面クリック可能に */
#wrapper > div#content > div.menu-area > ul > li:not(.title) > a {
  display: block;
  position: relative;
  text-decoration: none;
  color: #111;                 /* テキスト色を少し濃く */
  padding: 14px 44px 14px 16px;/* 左右に適度な余白。右は矢印分+α */
}
/* 右端の矢印（Font Awesome） */
#wrapper > div#content > div.menu-area > ul > li:not(.title) > a::after {
  position: absolute;
  display: block;
  content: "\f054";
  font-family: "fontawesome";
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  color: #25504D;
}
/* ホバー／フォーカスのインタラクション */
#wrapper > div#content > div.menu-area > ul > li:not(.title):hover {
  background-color: #F1F5F4;   /* 少しだけ明るく */
  border-color: #DDE5E4;
}
#wrapper > div#content > div.menu-area > ul > li:not(.title) > a:focus-visible {
  outline: 2px solid #25504D;  /* 視認性の高いフォーカス枠 */
  outline-offset: 2px;
  border-radius: 8px;
}
/* セクション間の余白（「メニュー」と「その他」を離す） */
#wrapper > div#content > div.menu-area > ul > li.title + li.title {
  margin-top: 24px;
}
#wrapper > div#content > div.menu-area > ul > li a {
  display: block;
}

#wrapper > div#content.login fieldset {
  margin: 10px 0 20px;
}

#wrapper > div#content.login nav.button.border-top {
  padding: 20px 0;
}

#wrapper > div#content.logout {
  margin: 10px;
}

/*---------------------------
    Footer
---------------------------*/
body > footer {
  display: block;
  margin: 0;
  padding: 6px;
  width: 100%;
  height: 25px;
  color: #4a494d;
  background-color: #F9F7F5;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 50;
}

body > footer > div.footer-logo {
  text-align: center;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  margin-bottom: 10px;
  background: #FFFFFF;
  border-radius: 50%;
}

body > footer > div.footer-logo > p {
  position: relative;
  text-align: center;
  margin: 0;
  color: #129012;
  font-size: 2rem;
  font-weight: bold;
  top: 25px;
  left: -60px;
  width: 200px;
}

body > footer > div.page-top {
  position: fixed;
  right: 40px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 4rem;
  text-align: center;
  color: #FFFFFF;
  transition-duration: 0.5s;
  opacity: 0;
  cursor: pointer;
  visibility: hidden;
}

body > footer > div.page-top.active {
  opacity: 1;
  visibility: visible;
}

body > footer > div.page-top.active:hover {
  color: #FFFFFF;
}

nav.pagination {
  clear: both;
}
nav.pagination > ul {
  position: relative;
  float: left;
  left: 50%;
  border: none;
}
nav.pagination > ul > li {
  position: relative;
  left: -50%;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}
nav.pagination > ul > li:first-child {
  border-left: 1px solid #CCCCCC;
}
nav.pagination > ul > li:last-child {
  border-right: 1px solid #CCCCCC;
}
nav.pagination > br {
  clear: both;
}
