/* style.css  */
@charset "utf-8";

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}
.container-custom {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.section-title-vivid {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0891B2;
}
.content-box {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.btn-primary-vivid {
    background-color: #F97316;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-primary-vivid:hover {
    background-color: #EA580C;
}
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
}
.form-label {
    font-weight: 600;
    color: #374151;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 0.5rem;
    text-align: center;
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.image-sequence-container {
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;      /* 絶対配置の基準に */
    display: inline-block;   /* 画像サイズに合わせる */
}
.image-sequence-container img {
    display: block;
    width: 70%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #ccc;
}

/* ページトップへのリンク */
.image-sequence-container .back-to-top {
  display: inline-block;
  width: 200px;
  margin: 1rem 0;
  text-decoration: none;
  font-size: 1rem;
  color: #005249;
  border: 1px solid #005249;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-align: center;
}
.back-to-top:hover {
  background-color: #e0f2f1;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.pagination button {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.pagination button:hover {
    background-color: #f0f0f0;
}
.pagination button.active {
    background-color: #0891b2;
    color: white;
    border-color: #0891b2;
}
.pagination button:disabled {
    background-color: #ddd;
    color: #aaa;
    border-color: #ddd;
    cursor: not-allowed;
}


