@charset "UTF-8";

/* タイトル */
.page-title {
    font-family: "Hachi Maru Pop", cursive;
    font-size: 2.8rem;
    color: #ff69b4;
    text-shadow: 3px 3px 0 #fff;
    margin: 40px 0;
    letter-spacing: 0.1em;
}

/* カレンダーフレーム */
.calendar-container {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.calendar-frame {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 40px;
    border: 10px solid #fff; /* 太枠統一 */
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-frame iframe {
    border-radius: 20px;
    max-width: 100%;
}

.calendar-note {
    margin-top: 15px;
    font-weight: bold;
    color: #ff007f;
    font-size: 0.9rem;
}

/* --- 戻るボタンエリア（ここを統一！） --- */
.back-home {
    margin: 80px 0; /* 会社概要と同じ余白 */
}

/* 共通リンクボタン：幅を強制固定する */
.link {
    position: relative;
    display: block;      /* inline-blockからblockに変更（幅をきかせやすくするため） */
    margin: 0 auto;      /* 真ん中に寄せる */
    width: 280px !important; /* 絶対に280pxにする命令 */
    box-sizing: border-box;  /* 枠線や余白を幅に含める */
    
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right, #ff9a9e 0%, #fecfef 100%);
    padding: 15px 0 !important; /* 左右のpaddingは0にして幅を固定 */
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    font-family: "Hachi Maru Pop", cursive;
}

.link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
    background: linear-gradient(to right, #fecfef 0%, #ff9a9e 100%);
}

/* ハートの魔法 */
.link::before, .link::after {
    content: "❤︎";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.8;
    animation: heartbeat 1.5s infinite;
}

.link::before { left: 20px; }
.link::after { right: 20px; }

.link:hover::before, .link:hover::after {
    color: #ff007f;
    opacity: 1;
}

@keyframes heartbeat {
    0%, 100% { transform: translateY(-50%) scale(1); }
    15%, 45% { transform: translateY(-50%) scale(1.3); }
}

/* --- スマホ対応：絶対はみ出さないオーダーメイド --- */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 1.8rem !important;
        margin: 20px 0;
    }

    .calendar-container {
        padding: 0 10px;
    }

    .calendar-frame {
        border-width: 5px !important;
        padding: 5px !important;
        border-radius: 20px !important;
    }

    .calendar-frame iframe {
        width: 100% !important;
        height: 400px !important;
    }

    /* スマホのボタン幅も会社概要と統一 */
    .link {
        width: 80% !important;
        max-width: 280px;
        padding: 12px 0 !important;
        font-size: 1rem !important;
    }
    
    .link::before { left: 15px; }
    .link::after { right: 15px; }
}