/* ===========================
   第73回 日本法医学会 学術近畿地方集会
   style.css
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Meiryo UI", "Meiryo", sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f8fafc;
}

.hero {
    background: linear-gradient(135deg, #00517E, #1976d2);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

.container {
    width: 88%;
    max-width: 980px;
    margin: auto;
}

section {
    background: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

h2 {
    color: #00517E;
    margin-bottom: 20px;
    border-left: 6px solid #1976d2;
    padding-left: 12px;
}
/* ===========================
   Header
=========================== */

.logo{
    width:120px;
    height:auto;
    margin-bottom:25px;
}


/* ===========================
   Navigation
=========================== */

nav{
    background:#0b4da2;
    position:sticky;
    top:0;
    z-index:100;
}

nav ul{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    list-style:none;
}

nav li{
    margin:0;
}

nav a{
    display:block;
    color:white;
    text-decoration:none;
    padding:18px 22px;
    transition:.3s;
    font-weight:bold;
}

nav a:hover{
    background:#1565c0;
}
/* ===== ヘッダー用 ===== */

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.date {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
}

.place {
    margin-top: 10px;
    opacity: 0.9;
}

.download {
    display: inline-block;
    background: #1976d2;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border-radius: 6px;
    text-decoration: none;
}

.download:hover {
    background: #00517E;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 100px;
}

.download:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,.2);
}
.download{
    transition:.3s;
}
.download:hover{
    transform:scale(1.05);
}
.notice{
    color:#d32f2f;
    font-weight:bold;
    margin-bottom:40px;
}

.hero{
    background:#00517E;
}

h2{
    border-left:6px solid #00517E;
}
/* ===========================
   参加登録ボタン
=========================== */

.registration-button {
    display: inline-block;
    background: #00517E;
    color: white;
    padding: 15px 32px;
    margin-bottom: 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
}

.registration-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.22);
}

/* ===========================
   ダウンロードボタン
=========================== */

.download-grid{
    display:grid;
    grid-template-columns:repeat(2, 260px);
    justify-content:center;
    gap:38px 150px;
    margin:30px auto;
}

.download{
    width:260px;
    text-align:center;
    display:block;
    box-sizing:border-box;
}

.download.excel{
    grid-column:1 / -1;
    width:100%;
}

/* ===========================
   Footer
=========================== */

.site-footer {
    background: #f3f6f8;
    color: #555;
    text-align: center;
    padding: 45px 20px 30px;
    margin-top: 50px;
    border-top: 4px solid #00517E;
}

.footer-logo {
    width: 320px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 25px;
}

.footer-title {
    color: #00517E;
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-office {
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-address {
    line-height: 1.7;
    margin-bottom: 22px;
}

.copyright {
    font-size: 0.85rem;
    color: #777;
}

.registration-button span{
    font-size:0.8em;
    font-weight:normal;
}

.important-red{
    color:#d32f2f;
    font-weight:bold;
}

.section-icon{
    width:28px;
    height:28px;
    vertical-align:middle;
    margin-right:10px;
}

.section-icon{
    width:28px;
    height:28px;
    margin-right:10px;
    vertical-align:middle;
}

.section-icon{
    width:30px;
    height:30px;
}

.file-icon{
    width:20px;
    height:20px;
    vertical-align:middle;
    margin-right:8px;
}

.content{
    max-width:950px;
}

.registration-button:hover{

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(0,0,0,.25);

}

.registration-button:active{

    transform:translateY(1px);

    box-shadow:0 2px 6px rgba(0,0,0,.18);

}

.registration-button:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,.22);
}

.registration-button:active{
    transform:translateY(0px);
    box-shadow:0 3px 8px rgba(0,0,0,.18);
}

/* ===========================
   お問い合わせボタン
=========================== */

.contact-button{

    display:block;

    max-width:600px;

    margin:25px auto;

    padding:22px 30px;

    background:#f8fbfd;

    border:2px solid #00517E;

    border-radius:12px;

    text-decoration:none;

    color:#333;

    transition:.3s;

    box-shadow:0 5px 12px rgba(0,0,0,.10);

}

.contact-button:hover{

    background:#00517E;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(0,0,0,.20);

}

.contact-title{

    font-size:1.15rem;

    font-weight:bold;

    margin-bottom:12px;

}

.contact-text{

    line-height:1.8;

    margin-bottom:10px;

}

.contact-mail{

    font-size:1.05rem;

    font-weight:bold;

    color:#00517E;

}

.contact-button:hover .contact-mail{

    color:#fff;

}

/* ページ全体の本文幅 */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   メイン写真
=========================== */

.main-photo{
    height:460px;
    overflow:hidden;
    margin:10px 0;
}

.main-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 45%;
    display:block;
}

.main-photo{
    max-width:1100px;
    margin:20px auto;
    padding:0 18px;
    border-left:8px solid #00517E;
    border-right:8px solid #00517E;
    background:#fff;
}

.main-photo img{
    width:100%;
    height:460px;
    object-fit:cover;
    object-position:center 45%;
    display:block;
}