/*==============================
    全体（背景）
==============================*/

body {
    margin: 0;
    padding: 0;
    background-image: url("../images/landscape.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #111;
}



/*==============================
    ヘッダー（土ブロック＋ロゴ画像）
==============================*/

.mc-header {
    width: 100%;
    min-height: 200px;
    background-image: url("../images/dirt.jpg"); /* ←土ブロック画像 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.mc-logo {
    width: 380px;
    max-width: 70%;
    height: auto;
    image-rendering: pixelated;
}



/*==============================
    大見出し
==============================*/

.title {
    text-align: center;
    margin: 40px 0 10px;
    font-size: 32px;
    font-weight: 900;
    color: #222;
    text-shadow: 2px 2px 0 #ffffffaa;
}



/*==============================
    カード（白背景の本文部分）
==============================*/

.section {
    max-width: 900px;
    margin: 20px auto 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 6px 0 #3b6b3b, 0 10px 20px rgba(0, 0, 0, 0.25);
    line-height: 1.9;
}

.section h2 {
    font-size: 22px;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #3f8b3f;
    color: #fff;
    display: inline-block;
    border-radius: 6px;
    box-shadow: 0 4px 0 #275427;
}

.section p {
    font-size: 15px;
    margin-bottom: 16px;
}



/*==============================
    スライドショー
==============================*/

.slider {
    width: 900px;
    height: 500px;
    overflow: hidden;
    margin: 20px auto;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.slider img {
    width: 900px;
    height: 500px;
    flex-shrink: 0;
    object-fit: cover;
}



/*==============================
    ギャラリー（サムネイル）
==============================*/

.gallery {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 0 #3b6b3b, 0 10px 20px rgba(0, 0, 0, 0.25);
}

.gallery .thumb {
    width: 150px;
    margin: 10px;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 4px 0 #555;
    transition: 0.2s;
}

.gallery .thumb:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}



/*==============================
    拡大画像（モーダル表示）
==============================*/

/*==============================
    拡大画像（モーダル）
==============================*/


/* 画像サイズ調整（画面にピッタリ） */
#bigimg img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}


/* 閉じるボタン */
#close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: 0.2s;
}

#close-btn:hover {
    color: #ff6666;
    transform: scale(1.1);
}



/*==============================
    フォーム
==============================*/

form#myform {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 0 #3b6b3b, 0 10px 20px rgba(0, 0, 0, 0.25);
    font-size: 15px;
}

form#myform input[type="text"],
form#myform textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 2px solid #3f8b3f;
    margin-bottom: 14px;
}

form#myform textarea {
    min-height: 100px;
}

/* ボタン（マイクラ風） */
#check,
#send,
#back-top {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px 6px 0;
    background: #3f8b3f;
    box-shadow: 0 6px 0 #275427;
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

#back-top {
    display: block;
    max-width: 90px;
    margin: 30px auto 40px;
}

#check:hover,
#send:hover,
#back-top:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #275427;
}



/*==============================
    スマホ対応
==============================*/

@media (max-width: 600px) {

    .mc-logo {
        width: 260px;
    }

    .slider {
        width: 100%;
        height: auto;
    }

    .slider img {
        width: 100%;
        height: auto;
    }

    .gallery .thumb {
        width: 120px;
    }
}
/* ---------------------------------------
   🌍 マインクラフト世界風の背景（完全版）
---------------------------------------- */

body {
    margin: 0;
    padding: 0;

    /* ▼ 空 → 草原のマイクラ風グラデーション背景 */
    background: linear-gradient(
        #76c8ff 0%,      /* 空の青 */
        #76c8ff 55%,     /* 空 */
        #6ab04c 55%,     /* 草の境目 */
        #6ab04c 100%     /* 草原 */
    );

    background-attachment: fixed;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #111;
}


/* ---------------------------------------
   ☁️ マイクラ雲（視差背景）
---------------------------------------- */

.mc-clouds {
    position: fixed;
    top: 60px;
    left: 0;
    width: 200%;                    /* 横に長く */
    height: 180px;
    background: url("../images/clouds.png") repeat-x;
    background-size: contain;
    opacity: 0.65;
    animation: cloudmove 60s linear infinite;
    z-index: -1;                     /* 背景に押し込む */
    pointer-events: none;            /* クリック無効 */
}

@keyframes cloudmove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ---------------------------------------
   🏞️ 奥行きを出すための山影
---------------------------------------- */
body::before {
    content: "";
    position: fixed;
    bottom: 35%;
    left: 0;
    width: 100%;
    height: 220px;

    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.08) 55%,
        rgba(0, 0, 0, 0) 100%
    );

    z-index: -1;
    pointer-events: none;
}


/* ---------------------------------------
   🪟 内容カード（白背景のやつが埋もれないように）
---------------------------------------- */

.section, .gallery, form#myform {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    box-shadow: 0 6px 0 #3b6b3b, 0 10px 20px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------
   🧱 マイクラロゴ（ヘッダー）
---------------------------------------- */

.mc-header {
    width: 100%;
    min-height: 180px;
    padding: 20px 0;
    background-image: url("../images/grass.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mc-logo {
    width: 380px;
    max-width: 70%;
    height: auto;
    display: block;
    image-rendering: pixelated;
}
/* 公式ボタンの共通リセット */
.official-btn {
    display: block;           /* ← ボタン1つをフル幅扱いにして改行 */
    width: 100%;              /* ← 石ボタンを幅いっぱいに */
    max-width: 600px;         /* ← 好きに調整してOK */
    margin: 0 auto 20px;      /* ← 中央寄せ＋下に余白 */
    padding: 0;               /* ← 緑ボタンの余白をリセット */
    text-align: center;       /* ← 文字を中央に */
    text-decoration: none;
}

/* 石ブロックボタン専用 */
.stone-btn {
    background-image: url("../images/stone_block.png");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 20px 0;          /* ← 文字の上下の余白だけ付ける */
    color: white;
    font-size: 24px;
    font-weight: 900;
    display: block;           
    box-shadow: 0 6px 0 #333;
    border: 4px solid #555;
    transition: 0.2s;
}

.stone-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #222;
}

