/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *

 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #EDF1F2;
  color: #333435;
  font: normal 17px/1.8 "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  text-justify: inter-ideograph;
}

a {
  /*color: #1a0dab;*/
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

img {
  border: none;
  display: block;
}

ul {
  list-style: none;
}

h1 {
  font-size: 1.9em;
  line-height: 1.4;
}
h1, h2, h3, h4 {
  /* color: #252627; */
  line-height: 1.4;
}

button {
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  outline: none;
}

input[type=text],
textarea {
  border: 1px solid #888;
  box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1) inset;
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  outline: none;
  padding: 4px;
  width: 100%;
}
input[type=submit] {
  -webkit-appearance: none;
  background: linear-gradient(#f9f9f9, #f1f1f1);
  border: 1px solid #ccc;
  font: normal 1em -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  padding: 8px 32px;
}
iframe {
  border: none;
}
label {
  font-weight: bold;
  display: block;
  text-align: left;
}

.clear {
  clear: both;
}


.loading {
  background: rgba(255,255,255,.6);
  display: none;
  font-size: .9em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
}
.loading-wrapper {

}

.vf {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 0;
  gap: 0;                 /* カラム間余白ゼロ */
}
.vf-wrapper {
  margin: 0;              /* 同上 */
  flex: 1 1 0%;
}

/* サイドバー全体 */
.vf-sidebar {
  background-color: #fefefe;               /* 背景白 */
  padding: 2.5rem 1.5rem 1.5rem;
  border-right: 1px solid #e5e7eb;
  flex: 0 0 260px;
}

/* メニュータイトル */
.vf-menu-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

/* メニューリスト */
.vf-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各リスト項目 */
.vf-menu-list li {
  margin-bottom: 0.75rem;
}

/* メニューリンク */
.vf-menu-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  font-size: 0.95rem;
}

/* ホバー時のリンク */
.vf-menu-list a:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

/* 現在のページなどを示す active クラス */
.vf-menu-list a.active {
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 600;
}

.duplicate-ticket-wrapper {
  background: #efc1c4;
  margin: 40px auto;
  padding: 4px 4%;
  width: 100%;
}


.alert-section {
  background: #000;
  color: #fff;
  font-weight: bold;
  line-height: 1.0;
  padding: 2px 4%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}
.header {
  background: #fff;
  box-shadow: 1px 0 4px #ccc;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 auto;
}
.header-section {
  padding: 0 1%;
}

.header-logo img {
  height: 36px;
}
/* 左上のボタン */
.header-userinfobtn {
  background: #000;
  color: #fff;
  font-size: 1.3em;
  padding: 0 20px;
  height: 36px;
}

.header-userwrapper a {
  color: #fff;
  display: flex;
  align-items: center;
}
.header-userthumb {
}
.header-userthumb img {
  object-fit: cover;
  width: 36px;
  height: 36px;
}
.header-username {
  background: #000;
  color: #fff;
  font-weight: bold;
  padding: 0 16px;
  height: 36px;
}

.header-loginbtn {
  background: #0075C9;
  color: #fff;
  display: block;
  font-size: .8em;
  font-weight: bold;
  line-height: 3;
  padding: 0 16px;
  text-align: center;
  vertical-align: middle;
}


/* マイページのメニュー */
.mypge-menu-wrapper {
  background: #fff;
  border: 1px solid #ccc;
  margin: 40px auto;
  padding: 20px 2%;
  max-width: 1280px;
}
.mypage-menu-header {
  text-align: center;
}
.mypage-menu {
  display: flex;
  justify-content: center;
}
.mypage-menu-item {
  background: #fcfcfc;
  border: 1px solid #ccc;
  margin: 20px 8px;
  padding: 20px;
  text-align: center;
}
.mypage-menu-item i {
  color: #aaa;
  font-size: 4em;
  margin: 0 auto 12px;
}

.login-sharedlist {
  background: #f1f1f1;
  font-size: .9em;
  margin: 20px auto;
  padding: 4px 8px;
  text-align: right;
}
.login-sharedlist a:hover {
  text-decoration: underline;
}

.footer {
  background-color: #f9fafb;
  padding: 2rem 1rem;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #374151;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  display: flex;
  justify-content: center;        /* 中央寄せ */
  gap: 4rem;                      /* 左右の余白 */
  flex-wrap: wrap;                /* モバイルで縦並び */
  max-width: 960px;
  margin: 0 auto;
}

.footer-left ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left li,
.footer-right li {
  margin-bottom: 0.8rem;
}

.footer-left a,
.footer-right a {
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-left a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

.footer-copy {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* モバイル対応 */
@media (max-width: 640px) {
html,
body {
  font-size: 14px;
}
.mypage-menu-item {
  padding: 8px;
}
.mypage-menu-item i {
  font-size: 2em;
  margin: 8px auto;
}
  .vf {
    flex-direction: column;   /* 縦並びにする */
  }

  .vf-sidebar {
    flex: 0 0 auto;           /* 固定幅を解除 */
    width: 100%;              /* 横幅100%に */
    border-right: none;       /* 右線を消して */
    border-bottom: 1px solid #e5e7eb; /* 下に仕切り線 */
  }

  .vf-wrapper {
    width: 100%;              /* コンテンツも横幅100% */
    flex: 1 1 auto;
  }
.footer-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
}
