*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  color: #2C2C2C;
  background-color: #FAF9F7;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #2D5A5A;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #3D7A7A;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.main {
  flex: 1;
}

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E8E6E3;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #2C2C2C;
}
.logo:hover {
  color: #2C2C2C;
}

.logo-icon {
  font-size: 24px;
}

.nav {
  display: flex;
  gap: 16px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.nav-link:hover {
  background: rgba(45, 90, 90, 0.05);
}
.nav-link--primary {
  background: #2D5A5A;
  color: #fff;
}
.nav-link--primary:hover {
  background: #3D7A7A;
  color: #fff;
}
.nav-link--secondary {
  color: #6B6B6B;
}
.nav-link--secondary:hover {
  color: #2C2C2C;
}

.site-footer {
  background: #1D4A4A;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  margin-top: auto;
}
.site-footer .copyright {
  text-align: center;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn--primary {
  background: #2D5A5A;
  color: #fff;
}
.btn--primary:hover {
  background: #3D7A7A;
  color: #fff;
}
.btn--accent {
  background: #E85A4F;
  color: #fff;
}
.btn--accent:hover {
  background: #FF7A6F;
  color: #fff;
}
.btn--outline {
  background: transparent;
  border-color: #2D5A5A;
  color: #2D5A5A;
}
.btn--outline:hover {
  background: #2D5A5A;
  color: #fff;
}
.btn--danger {
  background: #D64550;
  color: #fff;
}
.btn--danger:hover {
  background: #be2a35;
  color: #fff;
}
.btn--large {
  padding: 16px 32px;
  font-size: 18px;
}
.btn--small {
  padding: 4px 16px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}

.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  padding: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2C2C2C;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #E8E6E3;
  border-radius: 8px;
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2D5A5A;
  box-shadow: 0 0 0 3px rgba(45, 90, 90, 0.1);
}
.form-input::-moz-placeholder, .form-select::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #6B6B6B;
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: #6B6B6B;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: #D64550;
  font-size: 14px;
  margin-top: 4px;
}

.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.alert--success {
  background: rgba(74, 159, 126, 0.1);
  color: #3a7c62;
  border: 1px solid rgba(74, 159, 126, 0.2);
}
.alert--error {
  background: rgba(214, 69, 80, 0.1);
  color: #be2a35;
  border: 1px solid rgba(214, 69, 80, 0.2);
}
.alert--warning {
  background: rgba(244, 162, 89, 0.1);
  color: #d96e0e;
  border: 1px solid rgba(244, 162, 89, 0.2);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #2C2C2C;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero {
  background: linear-gradient(135deg, #2D5A5A 0%, #1D4A4A 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}
.hero-title .highlight {
  color: #FF7A6F;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-lead {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-icon {
  font-size: 32px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn--outline {
  border-color: #fff;
  color: #fff;
}
.hero-actions .btn--outline:hover {
  background: #fff;
  color: #2D5A5A;
}

.features {
  padding: 64px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2D5A5A;
}

.feature-desc {
  color: #6B6B6B;
}

.auth-page {
  padding: 64px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.auth-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 48px;
  width: 100%;
  max-width: 420px;
}

.auth-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #2D5A5A;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E6E3;
  color: #6B6B6B;
  font-size: 14px;
}
.auth-footer a {
  font-weight: 500;
}

.mypage {
  padding: 48px 0;
}

.mypage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .dashboard-summary {
    grid-template-columns: 1fr;
  }
}

.summary-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.summary-card--primary {
  background: linear-gradient(135deg, #2D5A5A 0%, #1D4A4A 100%);
  color: #fff;
}
.summary-card--warning {
  border-left: 4px solid #F4A259;
}
.summary-card--danger {
  border-left: 4px solid #D64550;
}

.summary-label {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.summary-value {
  font-size: 32px;
  font-weight: 700;
}

.summary-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
}

.subscription-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscription-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  transition: box-shadow 0.15s ease;
}
.subscription-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.subscription-item--inactive {
  opacity: 0.6;
}
@media (max-width: 768px) {
  .subscription-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.subscription-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 90, 90, 0.1);
  border-radius: 8px;
}

.subscription-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.subscription-category {
  font-size: 14px;
  color: #6B6B6B;
}

.subscription-price {
  text-align: right;
}
.subscription-price .price {
  font-size: 24px;
  font-weight: 700;
  color: #2D5A5A;
}
.subscription-price .cycle {
  font-size: 14px;
  color: #6B6B6B;
}

.subscription-actions {
  display: flex;
  gap: 8px;
}

.danshari-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
}
.danshari-score--high {
  background: rgba(214, 69, 80, 0.1);
  color: #D64550;
}
.danshari-score--medium {
  background: rgba(244, 162, 89, 0.1);
  color: #ef7a11;
}
.danshari-score--low {
  background: rgba(74, 159, 126, 0.1);
  color: #4A9F7E;
}

.chart-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .chart-section {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.chart-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.chart-container {
  position: relative;
  height: 280px;
}

.danshari-list {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.danshari-list h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.danshari-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #E8E6E3;
}
.danshari-item:last-child {
  border-bottom: none;
}

.danshari-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.danshari-name {
  font-weight: 500;
}

.danshari-reason {
  font-size: 14px;
  color: #6B6B6B;
}

.danshari-savings {
  font-weight: 700;
  color: #E85A4F;
}

.usage-indicator {
  display: flex;
  gap: 2px;
}
.usage-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8E6E3;
}
.usage-indicator span.active {
  background: #2D5A5A;
}

.empty-state {
  text-align: center;
  padding: 64px;
  color: #6B6B6B;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #2C2C2C;
}
.empty-state p {
  margin-bottom: 24px;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 8px;
}

.calendar-nav-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  transition: all 0.15s ease;
}
.calendar-nav-btn:hover {
  background: #2D5A5A;
  color: #fff;
}

.calendar-month-title {
  font-size: 24px;
  font-weight: 700;
  color: #2C2C2C;
}

.calendar-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  padding: 24px;
  margin-bottom: 32px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #E8E6E3;
  border: 1px solid #E8E6E3;
  border-radius: 8px;
  overflow: hidden;
}

.calendar-header {
  background: #2D5A5A;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: 600;
  font-size: 14px;
}
.calendar-header--sun {
  background: #d1303c;
}
.calendar-header--sat {
  background: #1c3838;
}

.calendar-cell {
  background: #FFFFFF;
  min-height: 80px;
  padding: 4px;
  position: relative;
  transition: background 0.15s ease;
}
@media (max-width: 768px) {
  .calendar-cell {
    min-height: 60px;
  }
}
.calendar-cell--empty {
  background: rgba(232, 230, 227, 0.3);
}
.calendar-cell--sun .calendar-day {
  color: #D64550;
}
.calendar-cell--sat .calendar-day {
  color: #2D5A5A;
}
.calendar-cell--today {
  background: rgba(45, 90, 90, 0.08);
}
.calendar-cell--today .calendar-day {
  background: #2D5A5A;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-cell--has-billing {
  background: rgba(232, 90, 79, 0.05);
}
.calendar-cell--has-billing:hover {
  background: rgba(232, 90, 79, 0.1);
}

.calendar-day {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.calendar-billings {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calendar-billing-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  background: rgba(45, 90, 90, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
  cursor: default;
}
.calendar-billing-item .billing-icon {
  font-size: 12px;
}
.calendar-billing-item .billing-name {
  color: #2C2C2C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .calendar-billing-item .billing-name {
    display: none;
  }
}

.calendar-summary {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #2D5A5A 0%, #1D4A4A 100%);
  color: #fff;
}
.summary-header h3 {
  font-size: 18px;
  font-weight: 600;
}
.summary-header .summary-total {
  font-size: 24px;
  font-weight: 700;
}

.calendar-empty {
  padding: 48px;
  text-align: center;
  color: #6B6B6B;
}
.calendar-empty p {
  margin-bottom: 8px;
}
.calendar-empty .calendar-empty-hint {
  font-size: 14px;
  opacity: 0.7;
}

.billing-list {
  padding: 16px;
}

.billing-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  border-bottom: 1px solid #E8E6E3;
  transition: background 0.15s ease;
}
.billing-list-item:last-child {
  border-bottom: none;
}
.billing-list-item:hover {
  background: rgba(45, 90, 90, 0.03);
}

.billing-date {
  display: flex;
  align-items: baseline;
  min-width: 50px;
}
.billing-date .billing-date-month {
  font-size: 14px;
  color: #6B6B6B;
}
.billing-date .billing-date-day {
  font-size: 24px;
  font-weight: 700;
  color: #2D5A5A;
}

.billing-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.billing-info .billing-icon-large {
  font-size: 28px;
}
.billing-info .billing-name-large {
  font-weight: 600;
}
.billing-info .billing-category {
  font-size: 14px;
  color: #6B6B6B;
}

.billing-price {
  font-size: 18px;
  font-weight: 700;
  color: #2C2C2C;
  text-align: right;
}
.billing-price .billing-cycle {
  font-size: 14px;
  font-weight: 400;
  color: #6B6B6B;
}/*# sourceMappingURL=style.css.map */