@charset "UTF-8";
/* このトップページ専用。robokon_style.css の後に読み込みます。 */
#robokon-home { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
#robokon-home main { background-image: url('../img/bg-main.png'); }
#robokon-home main section { padding-top: 32px; scroll-margin-top: 20px; }
#robokon-home main section .container { padding: 44px 40px; }
#robokon-home main section h2 { margin: 0 0 26px; font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.5; text-align: center; }
#robokon-home main section h3 { margin: 28px 0 14px; font-size: 23px; font-weight: 700; }
#robokon-home main p { line-height: 1.9; }
#robokon-home main img { max-width: 100%; height: auto; }
#robokon-home a:focus-visible { outline: 3px solid #d16b18; outline-offset: 4px; }
/* 冒頭も共通の白い角丸枠。画像の幅だけを抑えて、紹介文を見せます。 */
#robokon-home main .home-intro .container { padding: 30px 40px 32px; }
#robokon-home .home-hero-art { display: block; width: 100%; max-width: 560px; margin: 0 auto 22px; }
#robokon-home .home-hero-art img { display: block; width: 100%; height: auto; border-radius: 14px; }
#robokon-home .home-intro h1 { margin: 0 0 18px; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.6; font-weight: 700; text-align: center; }
#robokon-home .home-hero-description { max-width: 700px; margin: 0 auto; font-size: 16px; text-align: left; }
@media (max-width: 767px) {
    #robokon-home main section { padding-top: 22px; }
    #robokon-home main section .container { border-radius: 22px; padding: 30px 20px; }
    #robokon-home main .home-intro { padding-top: 16px; }
    #robokon-home main .home-intro .container { padding: 20px 16px 24px; }
    #robokon-home .home-hero-art { max-width: 400px; margin-bottom: 20px; }
    #robokon-home .home-hero-art img { border-radius: 10px; }
    #robokon-home .home-intro h1 { font-size: clamp(16px, 4.4vw, 24px); line-height: 1.7; margin-bottom: 16px; }
    #robokon-home .home-hero-description { font-size: 15px; }
    #robokon-home main section h2 { font-size: 23px; margin-bottom: 20px; }
    #robokon-home main section h3 { font-size: 20px; }
}

/* 活動写真は元の縦横比を保ち、表示幅を揃えます。 */
#robokon-home .section-illustration { margin: 24px 0; }
#robokon-home .home-hero-description p:last-child { margin-bottom: 0; }
#robokon-home .activity-photo { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 12px; margin: 18px auto 24px; }
#robokon-home .mission-list { padding-left: 1.5em; }
#robokon-home .mission-list li { margin-bottom: 20px; }
#robokon-home .mission-list h4 { font-size: 19px; font-weight: 700; line-height: 1.6; }
#robokon-home .tournament-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0 16px; }
#robokon-home .tournament-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #edf4f5; border-radius: 12px; }
#robokon-home .photo-note { font-size: 14px; }
@media (max-width: 767px) {
    #robokon-home .tournament-photos { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

#robokon-home .tournament-photos figure { min-width: 0; margin: 0; }
#robokon-home .tournament-photos figcaption { margin-top: 10px; font-size: 14px; line-height: 1.8; text-align: left; }

/* 参加・見学・応援の共通問い合わせ先 */
#robokon-home .contact-action { margin: 30px 0; text-align: center; }
#robokon-home .contact-button { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 15px 28px; border: 2px solid #246348; border-radius: 10px; background: #246348; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.6; text-decoration: none; }
#robokon-home .contact-button:hover { background: #194a35; border-color: #194a35; color: #fff; }
#robokon-home .contact-action .contact-note { margin: 10px 0 0; font-size: 13px; color: #555; }
