@charset "UTF-8";

.hero-header {
    opacity: 0;
    pointer-events: none;

}

/* ダミー画像 */
.images {
    position: fixed;
    inset: 0;
    background: url(../img/sequence/sky001.png) no-repeat 50% 50%;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

.images img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}


/*
 * プログレス表示
 */

.progress {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    height: 100%;
    position: absolute;
    width: 100%;
}

.progress-bar {
    border-top: 1px solid rgb(160, 160, 160);
    position: absolute;
    top: 50%;
    width: 0%;
}

.progress-text {
    font-family: "Menlo", "Consolas", monospace;
    font-size: 12px;
    margin-top: 10px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}

.progress-complete .progress-bar {
    border-top-color: rgb(255, 255, 255);
}

/* ===== ヘッダー ===== */
.logo {
    margin: 0;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.site-header.is-show {
    opacity: 1;
    pointer-events: auto;
}


.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
}


.global-nav ul {
    display: flex;
    gap: 40px;
}


.global-nav a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    letter-spacing: 0.08em;
    position: relative;
}


.global-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #222;
    transition: width 0.3s ease;
}


.global-nav a:hover::after {
    width: 100%;
}

ul {
    list-style: none;
}

/*
 * Slideshow
 */
.slideshow {
    overflow: hidden;
    position: relative;
    min-width: 1000px;
    height: 720px;
}

.slideshow img {
    display: none;
    position: absolute;
    left: 50%;
    margin-left: -800px;
}

.no-js .slideshow img:first-child {
    display: inline;
}

body {
    background: #eaf4ff;
    /* 薄い青 */
    color: #222;
}

.section {
    max-width: 1000px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.section h2 {
    text-align: center;
    font-size: 32px;
    color: #0a3d91;
    /* 濃い青 */
    margin-bottom: 60px;
    position: relative;
}

.section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #0a3d91;
    margin: 16px auto 0;
}

#character p {
    line-height: 1.8;
}

#character img {
    width: 300px;
    height: auto;
    margin: 20px;
}

#character img:nth-of-type(odd) {
    float: left;
}

#character img:nth-of-type(odd)+p {
    margin-left: 340px;
}

#character img:nth-of-type(even) {
    float: right;
}

#character img:nth-of-type(even)+p {
    margin-right: 340px;
}

#character img+p {
    overflow: hidden;
    margin-bottom: 80px;
}

#character>p:nth-of-type(odd) {
    font-size: 22px;
    font-weight: bold;
    margin-top: 40px;
}

form {
    max-width: 600px;
    margin: 120px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(90deg,
            #3399ff);
    background-size: 400% 400%;
    animation: rainbow 6s ease infinite;
}


#checkButton,
#submitButton {
    display: block;
    width: 100%;
    margin-top: 20px;
}

#slot {
    clear: both;
  }