@charset "UTF-8";

/* -------------------------------------------------
   基本設定（これがスマホ基準＝モバイルファースト）
------------------------------------------------- */
html { font-size: 62.5%; scroll-behavior: smooth; }

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    font-size: 14px;           /* スマホ基準 */
    line-height: 1.45;
    color: #432;
    margin-top: 60px;
    background: url(../images/kabegami-01.png) repeat;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.wrapper { max-width: 1120px; margin: auto; padding: 0 15px; overflow: hidden; }
.align-center { text-align: center; }

.yuji-boku-regular { font-family: "Yuji Boku", serif; font-weight: 400; font-style: normal; }

/* タイトル */
.page-title {
    color: #601e25;
    font-size: 2.5rem;
    border-style: solid;
    border-width: 4px 0;
    border-color: #92b809;
    margin: 30px auto 0;
    width: fit-content;
    font-weight: bold;
}

/* 中央寄せリスト */
.center-list { display: flex; justify-content: center; }
.center-list ul { text-align: left; margin: 0; padding-left: 1.5em; }
.who { color: #f60174; }

/* グリッド（スマホは1列） */
.grid {
    display: grid;
    gap: 35px;
    grid-template-columns: 1fr;
    text-align: center;
    margin: 30px 0 150px;
}

.item img {
    background: #fff;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #fb5b7b;
}

/* ボタン */
.btn {
    display: inline-block;
    background: rgb(245, 76, 104);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1em;
    transition: .3s;
}
.btn:hover { background: #0090aa; }

/* 豪華版だけド派手 */
.item:nth-child(3) {
    border: 5px solid #ff69b4;
    background: linear-gradient(135deg, #fff0f8, #ffe8f5);
    box-shadow: 0 10px 30px rgba(255,105,180,0.4);
    transform: scale(1.05);
    margin: 30px 0;
    position: relative;
    z-index: 10;
}
.item:nth-child(3) .btn {
    background: #ff1493 !important;
    font-size: 1.3em !important;
    padding: 20px 40px !important;
    animation: pulse 2s infinite;
}

/* パルスアニメ */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,20,147,0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(255,20,147,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,20,147,0); }
}

/* フッター固定 */
.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgb(255,0,0);
    font-size: 1.5rem;
    opacity: .5;
    padding-bottom: 10px;
}

/* -------------------------------------------------
   PC版（769px以上）だけ上書き
------------------------------------------------- */
@media (min-width: 769px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    p, h1, h2, h3, li { line-height: 1.7; margin-bottom: 16px; }

    .page-title {
        font-size: 3rem;
        border-width: 6px 0;
        margin-top: 50px;
    }

    .background-ilust img { width: 600px; }

    .grid {
        grid-template-columns: 1fr 1fr;   /* PCは2列 */
        gap: 50px;
    }

    .item img { aspect-ratio: 5 / 3; }
    .item h1 { font-size: 1.8rem; line-height: 2rem; }
    .item p  { font-size: 1.5rem; }

    .btn {
        padding: 20px 40px;
        font-size: 1.3em;
    }
}