.auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
}

.auth-card-body {
  padding: 32px;
}

.auth-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}

.auth-subtitle {
  margin: 0 0 24px;
  text-align: center;
  color: #6c757d;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-weight: 600;
  color: #212529;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2);
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #495057;
}

.auth-check-input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.auth-check-label {
  margin: 0;
}

.auth-actions {
  margin-top: 8px;
}

.auth-submit {
  width: 100%;
  border: 1px solid #0d6efd;
  border-radius: 0.5rem;
  background-color: #0d6efd;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.auth-submit:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  line-height: 1.8;
}

.auth-links a {
  color: #0d6efd;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.omniauth-button {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.omniauth-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.12);
}

.omniauth-button-line {
  width: 151px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: transparent url(/assets/line_login_button_base-8da40a5ba1a3ede09a2edb745754e397bc0afbee1bfac48104089dc98d9eaf2e.png) center center / contain no-repeat;
}

.omniauth-button-line:hover {
  background-image: url(/assets/line_login_button_hover-f2aa1152f9e7c518c0c45a4e4649736530608b02382f16e34fbac64c2610b45d.png);
}

.omniauth-button-line:active {
  background-image: url(/assets/line_login_button_press-bd95aef56ef3d4415e1566d0eec811d331112cef85f4f7e133ea28cf0c8a12aa.png);
}

.omniauth-button-line:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(6, 199, 85, 0.2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#error_explanation {
  padding: 12px 16px;
  border: 1px solid #f1aeb5;
  border-radius: 0.5rem;
  background: #f8d7da;
  color: #842029;
}

#error_explanation h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

#error_explanation ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 576px) {
  .auth-page {
    padding: 20px 12px 32px;
  }

  .auth-card-body {
    padding: 24px 20px;
  }

  .auth-title {
    font-size: 1.75rem;
  }
}
.navbar {
  background-color: #333;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
}

.navbar a:hover {
  background-color: #575757;
}

.navbar-links {
  display: flex;
  gap: 10px;
}

.logout-form {
  margin: 0;
}

.logout-button {
  color: white;
  background: none;
  border: none;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
  cursor: pointer;
  font-size: 16px;
}

.logout-button:hover {
  background-color: #575757;
}

.menu-toggle {
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.alert-area {
  padding: 10px 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar a {
    padding: 10px 15px;
    border-top: 1px solid #444;
  }

  .logout-button {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    border-top: 1px solid #444;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/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
 * 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.
 *


 */
