
/* 初期設定 */
*,*::before,*::after {
  box-sizing: border-box;
}
body {
  max-width: 600px;
  margin: auto;
  font-size: 16px;
  color: #333;
  padding-bottom: 100px; /* 固定フッター分 */
}
.bg-white {
  background-color: #fff;
  padding: 10px 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*
既存スタイル上書き用
*/
#wrap {
  background-image: none;
  background-color: #fff;
  padding: 30px 15px;
}
.wrap {
  background-color: #fff;
}
/* 見出し */
h2.lower_title {
  border-bottom: 1px solid grey;
  color: #fff;
  margin-top: 10px;
  max-width: 100%;
  font-size: 1.2rem;
  display:flex;
  justify-content: left;
  padding-left:50px;
  line-height: 1.2rem;
  text-align:left;
  margin:10px auto;
  background:#fff;
  border:solid 2px #fcc600;
  border-radius:10px;
  background:#fffae8;
  text-shadow:1px 1px #fcc600;
  position:relative;
  color:black;
  align-items: center;
  height:40px;
}
/* ホームに戻るボタン */
.back_link {
  width: auto;
  height: auto;
}
.back_link a {
  background-image: none;
  border-radius: 10px;
  text-shadow:1px 1px #fcc600;
  text-indent: 0;
  padding: 5px 10px;
  height: auto;
  text-decoration: none;
  border: 1px solid;
  border-radius: 0;
}
.btnA {
  background-image: none;
  color: #333;
  letter-spacing:2px;
  background:#eee;
  border:solid 2px #888;
  box-shadow:0 2px 2px silver;
  border-radius:0;
  border-radius:5px;
}
/* フッター */
footer {
  margin: 0;
  padding: 0;
  background-image: none;
}
/* 下層ページ */
.page-title h1 {
  font-size: 22px;
  border-bottom: 1px solid;
  padding: 10px 20px;
  margin: 0 0 20px;
  text-align: center;
}

/*
共通スタイル
*/
/* ボタンの影 */
.cc-btn-shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}
/* 光るボタン */
.cc-hikaru-btn {
  display: block;
  position: relative;
  width: 80%;/*ボタンの幅*/
  padding: 10px 0;
  margin: 30px auto;
  background-color: hotpink;/*ボタンの色*/
  box-shadow: 0 3px 0 0 pink;/*影の色(rgbaの値を変更)*/
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}
.cc-hikaru-btn:hover {
  text-decoration: none;
  color: #fff;
}
.cc-hikaru-btn::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: hikaru-btn 3s ease-in-out infinite;
}
@-webkit-keyframes hikaru-btn {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
/* 画面上部固定 */
.cc-sticky {
  position: sticky;
  top: 0px;
  z-index: 998;
}
/* 立体ボタン */
.cc-btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn-custom01 {
  margin-bottom: 0.5rem;
  padding: 0;
  border-radius: 0.75rem;
}
a.btn-custom01:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate3d(0, 0.75rem, -1rem);
  transform: translate3d(0, 0.75rem, -1rem);
  border: 2px solid #000;
  border-radius: inherit;
  background: #ccc100;
  -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
}
.btn-custom01-front {
  position: relative;
  display: block;
  padding: 1rem 3rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 2px solid #000;
  border-radius: inherit;
  background: #fff100;
}
/* フリー領域見出し3 */
.cc-free-midashi3 {
  background: #bf0000;
  color: #fff;
  box-shadow: 0px 0px 0px 5px #bf0000;
  border: dashed 2px #fff;
  padding: 5px 5px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
/* 文字装飾 */
.cc-wavy {
  text-decoration: #FF3145 wavy underline;
  -webkit-text-decoration: #FF3145 wavy underline;
}
/*マーカーアニメーション*/
.cc-marker-animation.cc-scroll-active{
  background-position: -100% .5em;
}
.cc-marker-animation {
  background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,220,0) 50%);
  background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,220,0) 50%);
  background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,220,0) 50%);
  background-image: -o-linear-gradient(left, transparent 50%, rgb(255,220,0) 50%);
  background-image: linear-gradient(left, transparent 50%, rgb(255,220,0) 50%);
  background-repeat: repeat-x;
  background-size: 200% .8em;
  background-position: 0 .5em;
  transition: all 2s ease;
  font-weight: bold;
}

/*
ロゴ
*/
.site-logo {
  padding: 10px 20px;
}
.site-logo a {
  display: block;
}

/*
メール一覧（ホーム）
*/
/* 会員情報 */
.member-info {
  margin: 10px auto 5px;
  width:95%;
  border:solid 2px #000;
  background:#fffbed;
  box-shadow:2px 2px white, 4px 4px #fcc600;
  position: relative;
  padding: 5px 5%;
  border-radius:10px;
  z-index: 1;
}
.member-info hr{
  margin:2px 0;
  padding:0;
}
.user_label{
  padding:2px 10px;
  background:#fcc600;
  border-radius:10px;
}
.user-name {
  font-weight: bold;
  text-align:center;
}
.user-name-h {
  font-size: 14px;
}
.user-point-value {
  font-weight: bold;
  color: black;
}
.kaiinjoutai{
  display:flex;
  max-width:600px;
  margin:5px auto;
  width:80%;
  transform:skew(30deg);
}
.kaiin_active{
  width:50%;
  text-align:center;
  background:#fcc600;
  color:white;
  padding:2px;
  font-weight:bold;
}
.kaiin_non-active{
  width:50%;
  text-align:center;
  background:#fff;
  padding:2px;
  border:solid 1px #000;
}
.kaiin_non-active span,.kaiin_active span{
  display: inline-block;
  transform:skew(-30deg);
}

/* イベントバナーエリア */
.main-event-area {
  padding: 10px 5px;
}
/* メールメニュー */
.mail-switch-menu {
  display: flex;
  justify-content: space-between;
  margin: 0px 0;
}
.mail-switch-btn {
  display: block;
  flex-basis: calc(100% / 3.1);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #333;
  padding: 5px;
  font-size: 15px;
  background-color: #fff;
}
/*
.mail-switch-btn:after {
  content:"を見る";
}
*/
.switch-btn-active {
  color: #000;
  background:#fcc600;
}
.switch-btn-active:before {
  content:"●";
  color:#000;
  text-shadow:1px 1px #fcc600;
  display:inline-block;
  margin-right:5px;
  animation:switchanime 3s linear infinite;
}
@keyframes switchanime{
  100%{transform: rotateZ(360deg);}
}
.switch-btn-active:after {
  content:"";
}
/* メール一覧 */
ul.mail_list {
  padding: 5px;
}
ul.mail_list li {
  background: #fff;
  box-shadow:2px 2px #fcc600;
  border:solid 1px black;
  margin-bottom: 25px;
  position: relative;
  padding:5px;
  font-size:90%;
}
.midoku-delete {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.mail-list-midoku {
  position:absolute;
  top:-18px;
  left:5%;
  background-color: #ffffff;
  border:solid 1px black;
  color: #fcc600;
  padding: 0px 15px;
  font-weight: bold;
  font-size:15px;
  font-size:90%;
}
.mail-list-kidoku {
  position:absolute;
  top:-18px;
  left:5%;
  box-shadow: 0 0 2px grey;
  background-color: silver;
  border:solid 1px #000;
  padding: 0px 15px;
  font-weight: bold;
  font-size:90%;
}
.mail-list-delete {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius:5px;
  padding: 2px 5px;
  text-decoration: none;
  color: #333;
  position: absolute;
  z-index:5;
  top: 0px;
  right: 0px;
}
.mail-list-delete img {
  width: 30px;
  padding: 2px;
}
.chara-area {
  display: flex;
  align-items: center;
  position: relative;
}
.chara-img img {
  height: 60px;
  width:auto;
  margin: 0 10px 2px 0;
}
.chara-name {
  font-weight: bold;
  letter-spacing: 2;
  font-size:90%;
  text-decoration:none;
  color:#7b61a0;
}
.mail-media {
  display: flex;
  margin-top:0px;
}
.mail-btn-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 10px 0 0;
}
.mail-btn-wrap span {
  position: relative;
  top: -5px;
  font-size: 12px;
}
.mail-btn {
  text-decoration: none;
  align-items: center;
}
.mail-btn img {
  width: 30px;
}
.mail-kenmei{
  text-decoration:none;
  color:#333;
}
.mail_tuduki{
  display:inline-block;
  padding:1px 5px;
  border:solid 1px silver;
  margin-left:5px;
}
.mail-btn.favorite.comp {
  background-color: #fff;
  color: #333;
  border: 2px solid #fcc600;
}
.honbun-area {
  display: flex;
  align-items: center;
  color:#000 !important;
  background:#fff7db;
  border:solid 2px #000;
  box-shadow:2px 2px #fcc600;
  position: relative;
  padding: 5px;
  font-size:90%;
  line-height:140%;
  font-size:15px;
}
/* メール前次ボタン */
.page_num{
  padding:10px;
  display:flex;
  height:60px;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.next,.prev{
  padding:5px 12px;
  background:#fff;
  text-decoration:none;
  color:#333;
  border:solid 1px black;
  border-radius:10px;
  box-shadow:2px 2px #fcc600;
  font-size:105%;
}

/*
メール表示
*/
.mail-view-header {
  padding: 10px;
  border-bottom: 2px solid #000000;
  background-color: #eee;
  position: relative;
  text-align: center;
}
.mail-view-header-return {
  position: absolute;
}
.mail-view-header-title {
  font-weight: bold;
}
.mail-wrap {
  background-color: #fff;
  margin-bottom: 50px;
}
.mail-header {
  padding: 10px;
  position: relative;
}
.mail-header-from {
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 1rem;
}
.mail-title {
  border-top: 1px solid lightgray;
  padding-top: 10px;
}
.mail-title span {
  font-weight: bold;
  font-size: 1.3rem;
}
.mail-header-btn img {
  width: 30px !important;
  margin-right: 5px;
}
.mail-body {
  padding: 10px;
}
/* 返信 */
.mail-reply {
  background-color: #fff;
  border: 1px solid;
  margin: 0 5px;
}
.mail-reply-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: lightgray;
  padding: 10px;
  margin-bottom: 10px;
}
/* 削除確認 */
.mail-delete-kakunin-txt {
  font-weight: bold;
  color: red;
  font-size: 1.5rem;
}
.mail-delete-yesno {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
}
.mail-delete-yes,.mail-delete-no {
  width: 100px;
  height: 50px;
}
.mail-delete-yes {
  color: red;
}
.mail-delete-no {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid;
}
/*
お気に入り
*/
/* お気に入り一覧 */
.favorite ul.mail_list li {
  border: 1px solid #000;
}
.favorite-name {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.favorite-list {
  display: flex;
  flex-wrap: wrap;
}
.favorite-list a {
  margin: 10px;
  padding: 5px 10px;
}


/*
共通
*/

/* 下層ページメニュー */
/*
.home-main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.home-main-menu li {
  width: calc(84% / 3);
  text-align: center;
  margin: 10px 2%;
}
.home-main-menu li a {
  display: block;
  text-decoration: none;
  color: #333333;
}
.home-main-menu li a img {
  height: 50px;
}
.home-main-menu li a span {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 14px;
}
*/
/* フッター固定メニュー */
.nav-menu {
  display: flex;
  margin:0 auto;
  flex-wrap: wrap;
  width: 98%;
  background:white;
  backdrop-filter: blur(8px);
  border-top:solid 2px #000;
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  bottom:0px;
  left: 50%;
  transform: translate(-50%,76%);
  -webkit-transform: translate(-50%,74%);
  -ms-transform: translate(-50%,76%);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 5px 0;
  max-width: 600;
  transition: .2s ease;
  z-index: 999;
}

.nav-menu.active {
  transform: translate(-50%,-2%);
  -webkit-transform: translate(-50%,-2%);
  -ms-transform: translate(-50%,-2%);
}

.nav-menu-trigger {
  display: flex;
  position: absolute;
  top: -40px;
  right: 0;
  width:150px;
  padding:7px 10px;
  background: #fcc600;
  color: #313131;
  text-align:center;
}

.nav-menu-trigger img {
  width: 20px;
  height:auto;
  margin-right:5px;
}

.nav-menu-trigger::after{
  font-size:14px;
  content:"メニュー一覧";
}

.nav-menu .nav-menu-item {
  -ms-flex-preferred-size: calc(100% / 4);
  flex-basis:calc(100% / 4);
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  align-items: center;
  -webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom:20px;
  text-decoration: none;
  text-align: center;
}
.nav-menu-item span {
  font-size: 13px;
  color: rgb(61, 61, 61);
  position: relative;
  top: -5px;
}
.nav-menu-item img {
  width: 40%;
  filter:drop-shadow(1px 1px white) drop-shadow(2px 2px #fcc600);
}

/* ホームに戻る */
.back-btn {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding: 20px;
  background: #0461C1;
}
.back-btn a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
  position: relative;
  padding: 5px 10px 10px;
  background-color: #FF3145;
}
.back-btn a::before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: '';
  border: 2px solid #fff;
}

/* メニュー一覧 */
.menu {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.menu li {
  width: calc(100% / 3);
  text-align: center;
  margin-top: 30px;
}

/*
下層ページ
*/

/* メニュー */
.main-menu {
  margin: 30px 0 0;
}
.main-menu li {
  text-align: center;
  margin-bottom: 30px;
}

/* お問い合わせ */
.form-history p {
  text-align: center;
}

/* フリー領域 */
.free-ryouiki {
  background: #fff;
  padding: 10px 5px;
}

/* ミニボタン */
.mini-btn {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.mini-btn-item a {
  display: block;
  text-decoration: none;
  text-align: center;
  border: 1px solid #bf0000;
  color: #bf0000;
  font-weight: bold;
  padding: 5px 7px;
}
/*メール表示部分*/
.user_info_outer{
  border-collapse:solid 1px #fcc600;
  position:relative;
  padding-top:35px;
  padding-left:5px;
}
.from_name{
  position:absolute;
  top:0;
  left:0;
  box-shadow:0 0 2px #fcc600;
  border-radius:5px;
  font-size:15px;
  text-decoration:none;
  padding:2px 15px;
  color:#fcc600;
}
.fromuser_info{
  display:flex;
  justify-content: left;
}
.user_icon{
  width:100px;
  margin:0 5px 2px 0;
}
.user_info{
  width:100%;
}
.mail_delete{
  position:absolute;
  top:0;
  right:0;
  background:#fcc600;
  border-radius:5px;
  padding:2px 8px;
  color:white;
  text-decoration:none;
}
.mail_title{
  margin-top:10px;
  position:relative;
  padding-top:35px;
  padding-left:5px;
  font-size:16px;
  margin-bottom:5px;
  font-weight:bold;
}
.title_nakami{
  position:absolute;
  top:0;
  left:0;
  box-shadow:0 0 2px #fcc600;
  border-radius:5px;
  font-size:14px;
  padding:2px 15px;
  color:#fcc600;
  text-decoration:none;
}
.mail_honbun{
  margin-top:10px;
  position:relative;
  padding:5px 5px 5px 5px;
}
.honbun_nakami{
  position:absolute;
  top:0;
  left:0;
  background:#fcc600;
  font-size:14px;
  padding:2px 15px;
  color:white;
  text-decoration:none;
}
/*ポイント購入*/
.ptnav li{
  margin-bottom:10px;
  padding:5px 10px;
  margin-left:15px;
}
.ptnav h3{
  margin:10px 0;
  border-right:10px solid #ffcdf8;
  width:90%; padding-left:10px;
  background:#eaffe4;}
.ptnav a{
  box-shadow:0 0 2px grey;
  border-radius:5px;
  text-decoration:none;
  color:#333;
  font-weight:bold;
  margin:2px 0;
  height:50px;
  display:flex;
  justify-content: flex-start;
  align-items: center;
  padding-left:10px;
}

/*フッターコンテンツ*/
.home-footer-menu ul{
  display:flex;
  justify-content: flex-start;
  flex-wrap:wrap;
  width:100%;
  padding:10px;
  background-size:25% auto;
  background-position:right bottom;
  background-repeat: no-repeat;
  background-color:rgba(255,255,255,.5);
  background-blend-mode: color-dodge;
}
.home-footer-menu ul li{
  font-size:16px;
  width:calc(100%/2.5);
  margin-bottom:5px;
  margin-right:5px;
}
