@charset "UTF-8";

/* ==========================================================================
   Modern Detail Page Styles
   ========================================================================== */

:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --accent-color: #ff9800;
  --accent-dark: #e68a00;
  --text-main: #333333;
  --text-sub: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #ced4da;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-family-base: 'Noto Sans JP', sans-serif;
  --font-size-base: 16px;
}

body.modern-detail-theme {
  font-family: var(--font-family-base);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: var(--font-size-base);
  padding-bottom: 80px; /* Add padding for floating bar */
}

/* Common Resets & Utils */
.modern-detail-theme a { text-decoration: none; color: inherit; transition: all 0.3s; }
.modern-detail-theme a:hover { opacity: 0.8; }
.modern-detail-theme img { max-width: 100%; height: auto; vertical-align: middle; }
.modern-detail-theme .container { max-width: 1300px; margin: 0 auto; padding: 0 30px; } /* Added bottom padding for footer spacing */

/* Header & Breadcrumbs */
.detail-header-wrap {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.detail-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--text-main);
}
.detail-breadcrumbs {
  font-size: 14px;
  color: var(--text-sub);
}
.detail-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.detail-breadcrumbs li { display: flex; align-items: center; }
.detail-breadcrumbs li:after { content: "/"; margin: 0 10px; color: #ccc; }
.detail-breadcrumbs li:last-child:after { content: none; }

@media (max-width: 767px) {
    .detail-breadcrumbs li,
    .detail-breadcrumbs li a {
        font-size: clamp(13px, 3.0vw, 14px);
    }
    .detail-breadcrumbs a {
        font-weight: normal;
    }
}

/* Main Layout */
.detail-content {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
  position: relative;
}
.section-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #a6cdaa;
}

/* Detail Top Section (Image & Info) */
.detail-top-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 769px) {
  .detail-top-section {
    flex-direction: row; /* Horizontal layout on PC */
    align-items: flex-start;
  }
  .detail-images-area {
    width: 35%; /* Reduced width */
    flex-shrink: 0;
  }
  .detail-info-area {
    flex: 1; /* Right side width */
    min-width: 0;
  }
}

@media (max-width: 767px) {
   .detail-top-section {
      margin-bottom: 20px;
    } 
}

.detail-main-image {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.detail-main-image img { width: 100%; display: block; }

/* Sub Images Gallery */
.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}
.detail-gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  /*cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;*/
}
/*.detail-gallery-grid img:hover { transform: scale(1.03); opacity: 1; }*/
/* スマホでは画像を大きく表示 */
@media (max-width: 767px) {
  .detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 30px;
  }
  .detail-gallery-grid img {
    min-height: 120px;
    object-fit: cover;
  }
}

.detail-sub-images { display: none; }

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.detail-tag {
  background: #f1f3f5;
  color: #555;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #dee2e6;
  text-decoration: none !important;
  display: inline-block;
}
.detail-tag:hover {
  background: #e9ecef;
}
@media (max-width: 767px) {
  .detail-tag {
    font-size: clamp(12px, 3.0vw, 13px) !important;
    padding: 4px 8px !important;
  }
}


.detail-period {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.detail-period:before {
  content: "\f017"; /* FontAwesome clock icon if available, or just generic icon */
  font-family: FontAwesome;
  margin-right: 5px;
}

.detail-catch {
  font-size: 24px;
  font-weight: 700;
  color: #3c3c4c;
  margin-bottom: 20px;
  line-height: 1.4;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 15px;
}
.detail-text {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main);
}

/* Info Tables */
.detail-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.detail-table th {
  background: #e9ecef;
  padding: 20px;
  font-size: 15px;
  text-align: left;
  font-weight: bold;
  width: 25%;
  /*border-bottom: 1px solid #fff;*/
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}
.detail-table td {
  font-size: 15px;
  font-weight: normal;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}
.detail-table tr:last-child td { border-bottom: 1px solid var(--border-color); }

.detail-table td .kyuyo_info {
    margin: 5px 0 0 0;
    font-size: clamp(12px, 3.5vw, 14px);
    line-height: 1.5em;
}

/* Form Table Styles */
.detail-table.form-table {
  background: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  /*border-radius: var(--radius-md);*/
  overflow: hidden;
  margin-bottom: 40px;
}
.detail-table.form-table th {
  background: #f8f9fa;
  padding: 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  position: relative;
}
.detail-table.form-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}
@media (max-width: 767px) {
    .detail-table.form-table th {
        border-right: none;
    }
    
    .detail-table.form-table th,
    .detail-table.form-table td {
        padding: 10px 10px;
    }
    
}

/* フォームテーブルのtd内の最初の要素の上にマージンを追加 */
.detail-table.form-table td > *:first-child {
  margin-top: 0;
}
.detail-table.form-table tr:first-of-type th,
.detail-table.form-table tr:first-of-type td {
    border-top: 1px solid #ced4da;
}
@media (max-width: 767px) {
    .detail-table.form-table tr:first-of-type th,
    .detail-table.form-table tr:first-of-type td {
        border-top: none;
    }
}

/* フォームグループの間隔調整 */
.detail-table.form-table td .form-group {
  margin-bottom: 20px;
}
.detail-table.form-table td .form-group:first-child {
  margin-top: 0;
}
.detail-table.form-table td .form-group:last-child {
  margin-bottom: 0;
}

/* フォームグループ内のラベルと入力欄の間隔 */
.detail-table.form-table td .form-group .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

/* フォームグループ内の入力欄とエラーメッセージの間隔 */
.detail-table.form-table td .form-group .input-text,
.detail-table.form-table td .form-group .input-select {
  margin-bottom: 0;
}

.detail-table.form-table td .form-group .error-text {
  margin-top: 8px;
  margin-bottom: 0;
}
/*.detail-table.form-table tr:last-child th,
.detail-table.form-table tr:last-child td {
  border-bottom: none;
}*/
.detail-table.form-table tr:last-of-type th,
.detail-table.form-table tr:last-of-type td {
    border-bottom: 1px solid #ced4da;
}

/* フォーム項目名と必須マークのレイアウト */
.detail-table.form-table th .badge-required,
.detail-table.form-table th .form_mark {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

/* フォーム入力欄のスタイル */
.detail-table.form-table input[type="text"],
.detail-table.form-table input[type="email"],
.detail-table.form-table input[type="tel"],
.detail-table.form-table input[type="password"],
.detail-table.form-table select,
.detail-table.form-table textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 0;
}
.detail-table.form-table input[type="text"]:focus,
.detail-table.form-table input[type="email"]:focus,
.detail-table.form-table input[type="tel"]:focus,
.detail-table.form-table input[type="password"]:focus,
.detail-table.form-table select:focus,
.detail-table.form-table textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* エラーメッセージと注釈テキストのスタイル */
.detail-table.form-table .error-text {
  margin-top: 8px;
  margin-bottom: 0;
  color: #dc3545;
  font-size: 13px;
  display: block;
}
.detail-table.form-table .note-text {
  margin-top: 12px;
  margin-bottom: 0;
  color: #6c757d;
  font-size: 13px;
  line-height: 1.6;
  display: block;
}

/* Buttons & Actions */
.detail-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 0;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}
.btn-detail-apply {
  background: #f19ec2;
  color: #fff !important;
  font-weight: 700;
  padding: 15px 60px;
  border-radius: 50px;
  font-size: 20px;
  /*box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);*/
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #f19ec2;
  transition: all 0.3s;
}
.btn-detail-apply:hover {
  /*background: #fff;
  color: var(--accent-color) !important;
  box-shadow: 0 6px 15px rgba(255, 152, 0, 0.4);*/
}
.btn-detail-save {
  background: #fff;
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-detail-save:hover {
  background: #f0f0f0;
}
.btn-detail-save.already {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

/* Related Jobs - 4 Column Grid (Same as Top Page) */
.related-section {
  padding: 40px 0;
}
.related-section .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-main);
}

/* 4列グリッドレイアウト（トップページと同じ） */
.new-job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
/*  margin-bottom: 30px;*/
}
.new-job-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.new-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.new-job-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.new-job-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #eee;
}
.new-job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.new-job-card:hover .new-job-image img {
  transform: scale(1.05);
}
.new-job-body {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.new-job-company {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.new-job-title {
  font-size: 16px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.new-job-card:hover .new-job-title {
  text-decoration: underline;
}
.new-job-meta {
  font-size: 12px;
  color: #888;
  margin-top: auto;
}
.new-job-meta-row {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
}
.new-job-meta-row i {
  margin-right: 5px;
  width: 2em;
  text-align: center;
  color: #f19ec2;
}
.new-job-meta-row i::before {
    font-size: 18px;
}
.new-job-meta-row span {
    font-size: clamp(13px, 3.0vw, 14px);
}
.new-job-meta-row.jobtype,
.new-job-meta-row.area {
    position: relative;
}
.new-job-meta-row.jobtype i,
.new-job-meta-row.area i { display: none; }
.new-job-meta-row.jobtype::before,
.new-job-meta-row.area::before {
    content: "";
    min-width: 18px;
    min-height: 18px;
    display: inline-block;
    margin-right: 0.25em;
}
.new-job-meta-row.jobtype::before {
    background: url(../images/i_jobtype.png) no-repeat center;
    background-size: contain;
}
.new-job-meta-row.area::before {
    background: url(../images/i_area.png) no-repeat center;
    background-size: contain;
}

/* Responsive */
@media (max-width: 768px) {
  /* スマホでは全体的に文字サイズを下げる */
  body.modern-detail-theme {
    font-size: 14px !important;
  }
  /* containerの幅を広げる（新着求人と同じ） */
  .modern-detail-theme .container {
    padding: 0 15px 60px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* detail-header-wrapの余白を圧縮 */
  .detail-header-wrap {
    padding: 20px 0 !important;
    margin-bottom: 20px !important;
  }
  .detail-header-wrap .container {
    padding: 0 15px!important;
  }
  .detail-title {
    font-size: clamp(18px, 5.5vw, 20px) !important;
    margin-bottom: 10px !important;
  }
  .section-title {
    font-size: 18px !important;
  }
  /* detail-contentの幅を広げる（新着求人と同じ） */
  .detail-content {
    padding: 25px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* detail-content内の要素も幅を広げる */
  .detail-content > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .detail-table th, .detail-table td {
    padding: 5px 10px;
    display: block;
    width: 100%;
    font-size: clamp(13px, 3.0vw, 15px)!important;
  }
  .detail-table th {
    background: #f8f9fa;
    /*background: transparent;
    color: var(--primary-color);*/
    border-bottom: none;
  }
  .detail-table tr:first-child th {
    border-top: 1px solid #ced4da;
  }
  .detail-table td {
  }
  .detail-info-title {
    font-size: 18px !important;
  }
  .detail-info-text {
    font-size: 14px !important;
  }
  /* detail-actionsのレイアウト修正 */
  .detail-actions {
    flex-direction: column;
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 15px !important;
    margin: 20px 0;
  }
  .btn-detail-apply, .btn-detail-save {
    width: 100% !important;
    justify-content: center;
    box-sizing: border-box;
    font-size: 14px !important;
    padding: 12px 20px !important;
    margin: 0 !important;
  }
  /* section要素も幅を広げる */
  .detail-content section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .new-job-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .related-section {
    margin-top: 0 !important;
    padding: 0 0 !important;
  }
  .related-section + .related-section {
    margin-top: 30px !important;
  }
  .related-section .section-title {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }
  .new-job-image {
    aspect-ratio: 16 / 9;
  }
  .new-job-title {
    font-size: 14px !important;
  }
  .new-job-company {
    font-size: 12px !important;
  }
  .new-job-meta {
    font-size: 11px !important;
  }
  .new-job-meta-row {
    width: 50%;
  }
}
@media (max-width: 480px) {
  /* さらに小さい画面では文字サイズをさらに下げる */
  body.modern-detail-theme {
    font-size: 13px !important;
  }
  /* detail-header-wrapの余白をさらに圧縮 */
  .detail-header-wrap {
    padding: 15px 0 !important;
    margin-bottom: 15px !important;
  }
  .detail-title {
    margin-bottom: 8px !important;
  }
  .section-title {
    font-size: 16px !important;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  /* detail-contentの幅を広げる */
  .detail-content {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* detail-content内の要素も幅を広げる */
  .detail-content > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .detail-table th, .detail-table td {
  }
  .detail-table th {
  }
  .detail-info-title {
    font-size: 16px !important;
  }
  .detail-info-text {
    font-size: 13px !important;
  }
  /* detail-actionsのレイアウト修正 */
  .detail-actions {
    padding: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 12px !important;
  }
  .btn-detail-apply, .btn-detail-save {
    font-size: 13px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  /* section要素も幅を広げる */
  .detail-content section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .related-section .section-title {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }
  .new-job-title {
    font-size: 13px !important;
  }
  .new-job-company {
    font-size: 11px !important;
  }
  .new-job-meta {
    /*font-size: 10px !important;*/
    display: flex;
    flex-wrap: wrap;
  }
    
    
  .detail-catch {
    font-size: 16px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .detail-text {
    font-size: clamp(13px, 3.0vw, 14px);
  }
    
    
  /* 画像ギャラリーをさらに大きく */
  .detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .detail-gallery-grid img {
    min-height: 140px !important;
  }
  .new-job-grid {
    grid-template-columns: 1fr;
  }
  .detail-sub-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 999;
  transform: translateY(100%); /* Hidden by default */
  transition: transform 0.3s ease-in-out;
  backdrop-filter: blur(5px);
}
.floating-actions .container {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  padding: 0 30px !important;
  padding-bottom: 0 !important;
  margin: 0 auto;
  max-width: 1300px;
  height: auto;
}
.floating-actions .btn-detail-apply,
.floating-actions .btn-detail-save {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap;
  line-height: 1.3 !important;
}
.floating-actions .btn-detail-apply {
  padding: 10px 60px !important;
  font-size: 20px !important;
}
.floating-actions .btn-detail-save {
  padding: 10px 40px !important;
  font-size: 16px !important;
}
.floating-actions .btn-detail-apply i,
.floating-actions .btn-detail-save i {
  line-height: 1;
}
.floating-actions.visible {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .floating-actions {
    padding: 6px 0;
  }
  .floating-actions .container {
    padding: 0 15px !important;
    padding-bottom: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
  .floating-actions .btn-detail-apply {
    padding: 10px 20px !important;
    font-size: 16px !important;
    flex: 1.5;
  }
  .floating-actions .btn-detail-save {
    padding: 10px 15px !important;
    font-size: 14px !important;
    flex: 1;
  }
}

/* Override/Helpers */
.d-none { display: none !important; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
@media (max-width: 767px) {
    .sp-mb-20 { margin-bottom: 20px; }
    .sp-mb-30 { margin-bottom: 30px; }
    .sp-mb-40 { margin-bottom: 40px; }
    .sp-mb-50 { margin-bottom: 50px; }
    
    .sp-mt-10 { margin-top: 10px; }
    .sp-mt-20 { margin-top: 20px; }
    .sp-mt-30 { margin-top: 30px; }
    .sp-mt-40 { margin-top: 40px; }
    .sp-mt-50 { margin-top: 50px; }
}


/* Modal Styles */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px); display: none;
}
.modal-content {
  background: #fff; padding: 30px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-width: 400px; width: 90%;
  text-align: center; position: relative; animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; color: #999;
}
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: var(--text-main); }
.modal-message { font-size: 15px; color: var(--text-sub); margin-bottom: 25px; line-height: 1.6; }
.modal-actions { display: flex; flex-direction: column; gap: 15px; }
.btn-modal-login {
  display: block; padding: 12px; background: var(--primary-color);
  color: #fff; border-radius: 30px; font-weight: 700; text-decoration: none;
}
.btn-modal-register {
  display: block; padding: 12px; background: #fff;
  color: var(--accent-color); border: 2px solid var(--accent-color);
  border-radius: 30px; font-weight: 700; text-decoration: none;
}

/* フォーム下部のエリアのスタイル */
.agreement-area {
	margin-top: 30px;
	margin-bottom: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.submit-area {
	margin-top: 30px;
	margin-bottom: 40px;
	padding-top: 20px;
}
