/* 
  いい塩梅のスタンプラリーLPデザイン
  PDFの涼しい配色（水色・黄色）を基調とした、シンプルで読みやすいスタイル
*/

:root {
    --primary-blue: #4FA2D4;
    --light-blue: #E1F3FD;
    --accent-yellow: #FFD233;
    --text-dark: #333333;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--text-dark);
    background-color: #f9f9f9;
    line-height: 1.8;
}

/* Hero Section (Text based) */
.hero-section {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 5px solid var(--accent-yellow);
}

.hero-content h1 {
    font-size: 32px;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.highlight-blue {
    color: #003366;
}

.highlight-yellow {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: bold;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}


/* Main Content */
.content-container {
    max-width: 800px;
    margin: -30px auto 40px;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.cta-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFB800, #FFD233);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(255, 210, 51, 0.4);
    transition: transform 0.2s;
    border: 2px solid var(--white);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 210, 51, 0.6);
}

.cta-button.secondary-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(79, 162, 212, 0.2);
}
.cta-button.secondary-btn:hover {
    box-shadow: 0 6px 15px rgba(79, 162, 212, 0.4);
}

/* Coming Soon */
.cta-coming-soon-wrapper {
    position: relative;
    display: inline-block;
}

.cta-button.disabled-btn {
    background: linear-gradient(135deg, #c8c8c8, #e0e0e0);
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    border-color: #ddd;
    opacity: 0.75;
    user-select: none;
}
.cta-button.disabled-btn:hover {
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px dashed #aaa;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    pointer-events: none;
}

/* Info Sections */
.info-section {
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border: none;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

/* Overview Content */
.overview-content .lead-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 25px;
}
.overview-content p {
    margin-bottom: 15px;
}
.tech-box {
    background: #f4faff;
    border: 2px solid #d4ebf9;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}
.tech-box h3 {
    color: var(--primary-blue);
    font-size: 17px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #baddf5;
    padding-bottom: 8px;
}
.tech-box p {
    margin-bottom: 0;
    font-size: 15px;
}
.overview-content .note {
    font-size: 12px;
    color: #777;
    text-align: right;
    margin-bottom: 0;
    margin-top: -5px;
}

/* Poster Section */
.poster-container {
    background: var(--light-blue);
    padding: 15px;
    border-radius: 10px;
}

.poster-img-wrapper {
    position: relative;
    display: block;
}

.poster-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stamp-map-img {
    aspect-ratio: 2000 / 1125;
    width: 100%;
    height: auto;
}

/* ポスターQRコード部分の Coming Soon バッジ */
.poster-coming-soon-badge {
    position: absolute;
    /* QRコードはポスター右側・縦約50〜65%の位置 */
    top: 53%;
    right: 3%;
    width: 19%;
    text-align: center;
    font-size: clamp(8px, 1.5vw, 14px);
    font-weight: 700;
    color: #555;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px dashed #aaa;
    padding: 6px 8px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    pointer-events: none;
    transform: rotate(-15deg);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.info-box {
    background-color: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1em;
}

.steps-list {
    list-style-position: inside;
    padding-left: 10px;
}

.steps-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Stamp Table */
.stamp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 15px;
}

.stamp-table th,
.stamp-table td {
    padding: 10px 15px;
    border: 1px solid #d4ebf9;
    text-align: left;
}

.stamp-table thead th {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    text-align: center;
}

.stamp-table tbody tr:nth-child(odd) {
    background-color: var(--light-blue);
}

.stamp-table tbody tr:nth-child(even) {
    background-color: var(--white);
}

.stamp-table tbody td:first-child {
    text-align: center;
    font-weight: 700;
    color: var(--primary-blue);
    width: 50px;
}

.stamp-table tbody td:nth-child(3) {
    white-space: nowrap;
}

.stamp-table tbody td:nth-child(4) {
    white-space: nowrap;
}

/* Bilingual English Text */
.en {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-style: normal;
}

.en-section-title {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    color: var(--primary-blue);
    opacity: 0.75;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.en-subtitle {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 3px;
}

.en-h1 {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.highlight-blue-en {
    color: #a8c8e8;
}

.en-hero-desc {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.en-btn {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
    letter-spacing: 0.03em;
}

.en-lead {
    display: block;
    font-size: 0.75em;
    font-weight: 400;
    color: var(--primary-blue);
    opacity: 0.8;
    margin-top: 4px;
}

.en-body {
    display: block;
    font-size: 0.88em;
    color: #666;
    margin-top: 4px;
    line-height: 1.6;
}

.en-tech-h3 {
    display: block;
    font-size: 0.82em;
    font-weight: 400;
    color: var(--primary-blue);
    opacity: 0.8;
    margin-top: 4px;
}

.en-note {
    display: block;
    font-size: 0.92em;
    color: #888;
    margin-top: 3px;
    line-height: 1.5;
}

.en-facility {
    display: inline;
    font-size: 0.88em;
    color: #888;
    margin-left: 4px;
}

/* ===== 微気象パネル ===== */

.climate-section {
    /* 他のセクションと統一 */
}

.climate-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.climate-img-wrapper {
    position: relative;
    width: 100%;
    background: #e8f7ff;
    border-radius: 10px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.climate-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: opacity 0.4s ease;
}

.climate-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(232, 247, 255, 0.85);
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: bold;
}

.climate-loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid var(--light-blue);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: climate-spin 0.8s linear infinite;
}

@keyframes climate-spin {
    to { transform: rotate(360deg); }
}

.climate-description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.climate-caption {
    font-size: 12px;
    color: #777;
    text-align: center;
    line-height: 1.7;
}

/* Footer */

.footer {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 12px;
}
