@charset "UTF-8";
/* CSS Document */
/* あの日の夜空・この日の夜空 */
/* みんなの知識 ちょっと便利帳 */
/* 2026/06/26 */c

    /* 親ページへの影響を防ぐため、すべて専用のクラス名でカプセル化 */
    .anohi-wrapper {
        box-sizing: border-box;
        width: 100%;
        padding: 10px;
        background-color: #0b0f19; /* 夜空のベース色 */
        font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    }

    .anohi-container {
        max-width: 750px; /* PCでの最大横幅を750pxに制限 */
        width: 100%;
        margin: 0 auto;
        background: #161f33;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        box-sizing: border-box;
    }

    .anohi-title {
        font-size: 1.5rem;
        font-weight: bold;
        text-align: center;
        color: #fff;
        margin: 0 0 5px 0;
        letter-spacing: 1px;
    }

    .anohi-subtitle {
        text-align: center;
        font-size: 0.9rem;
        color: yellow;
        margin: 0 0 25px 0;
    }

    .anohi-input-group {
        display: flex;
        gap: 10px;
        margin-bottom: 25px;
    }

    #anohi-target-date {
        flex: 1;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #334155;
        background-color: #0f172a;
        color: #fff;
        font-size: 1rem;
        outline: none;
        box-sizing: border-box;
    }

    #anohi-target-date::-webkit-calendar-picker-indicator {
        filter: invert(1);
    }

    .anohi-btn {
        padding: 12px 24px;
        background-color: #f59e0b;
        color: #0f172a;
        border: none;
        border-radius: 6px;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.2s;
        box-sizing: border-box;
    }

    .anohi-btn:hover {
        background-color: #d97706;
    }

    .anohi-result-box {
        display: none;
        border-top: 1px solid #334155;
        padding-top: 25px;
        animation: anohiFadeIn 0.5s ease-in-out forwards;
    }

    @keyframes anohiFadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

	.anohi-date-display {
		text-align: center;
		font-size: 1.25rem;
		font-weight: bold;
		color: #fff;
		margin-bottom: 20px;
	}

	/* 新設：時間側のテキストを改行させ、上部に10pxの余白を作る */
	.anohi-res-date-time {
		display: block;
		margin-top: 10px;
	}

    .anohi-moon-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .anohi-moon-frame {
        width: 270px;
        height: 270px;
        background: #0f172a;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
        box-shadow: 0 0 20px rgba(255,255,255,0.05);
        overflow: hidden;
    }

    .anohi-moon-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .anohi-credit {
        font-size: 14px;
        color: #64748b;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    .anohi-moon-phase-name {
        font-size: 1.2rem;
        font-weight: bold;
        color: #f59e0b;
        text-align: center;
        margin-bottom: 5px;
        line-height: 1.4;
    }

    .anohi-moon-age {
        font-size: 1.4rem;
        font-weight: bold;
        color: #fff;
        margin-bottom: 5px;
    }

    .anohi-sky-section {
        background: #0f172a;
        border-radius: 8px;
        padding: 20px;
        border-left: 4px solid #f59e0b;
        box-sizing: border-box;
    }

    .anohi-sky-title {
        font-size: 1rem;
        font-weight: bold;
        color: #fff;
        margin-bottom: 15px;
    }

    /* 新設：星座ガイドの画像フレーム用スタイル（はみ出さず美しく中央配置） */
    .anohi-sky-image-frame {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 15px auto;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        background-color: #0b0f19;
    }

    .anohi-sky-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .anohi-sky-description {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #cbd5e1;
    }

    .anohi-sky-notes {
        margin-top: 15px;
        font-size: 12px;
        color: #94a3b8;
        line-height: 1.5;
        text-align: left;
    }

    .anohi-romantic-phrase {
        text-align: center;
        font-style: italic;
        color: yellow;
        margin-top: 25px;
        font-size: 0.98rem;
    }

    .anohi-notes {
        margin-top: 25px;
        font-size: 11px;
        color: #bbb;
        line-height: 1.5;
        text-align: center;
    }